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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.