Ignore:
Timestamp:
Aug 14, 2017, 12:32:08 PM (4 years ago)
Author:
max@…
Message:

Switch the VM space, and explicitly disable the FPU.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_gpt.c

    r319 r368  
    290290        L4dst = (pt_entry_t *)ppm_page2base(page_xp);
    291291        memcpy(&L4dst[256], &L4src[256], 256 * sizeof(pt_entry_t));
    292         L4dst[L4_SLOT_PTE] = (ppm_page2ppn(page_xp) >> CONFIG_PPM_PAGE_SHIFT) |
     292        L4dst[L4_SLOT_PTE] = (ppm_page2ppn(page_xp) << CONFIG_PPM_PAGE_SHIFT) |
    293293            PG_V | PG_KW | PG_NX;
    294294
Note: See TracChangeset for help on using the changeset viewer.