Changeset 243 for trunk/hal


Ignore:
Timestamp:
Jul 20, 2017, 10:29:35 AM (4 years ago)
Author:
max@…
Message:

Mmh, some CPUs can boot with the cache disabled, so explicitly
enable it.

Location:
trunk/hal/x86_64/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_boot.S

    r234 r243  
    405405        movl    %cr0,%eax
    406406        orl     $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_MP|CR0_WP|CR0_AM),%eax
     407        andl    $~(CR0_CD|CR0_NW),%eax
    407408        movl    %eax,%cr0
    408409        jmp     compat
  • trunk/hal/x86_64/core/hal_smpboot.S

    r236 r243  
    151151        movl    %cr0,%eax
    152152        orl     $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_MP|CR0_WP|CR0_AM),%eax
     153        andl    $~(CR0_CD|CR0_NW),%eax
    153154        movl    %eax,%cr0
    154155
Note: See TracChangeset for help on using the changeset viewer.