• Jeffrey Lee's avatar
    Add MaxCamEntry32 & CPUFlag_HighRAM · 5bd42912
    Jeffrey Lee authored
    MaxCamEntry32 is an internal variable which the kernel can use to
    quickly determine whether a RAM page has a 32bit physical address or
    something larger, by comparing with the physical page number (currently
    entries in PhysRamTable are sorted such that all 32bit pages come first)
    
    CPUFlag_HighRAM (aka OS_PlatformFeatures 0 bit 21) is a flag that
    external code can use to detect whether any high RAM is present, and
    thus whether 64bit physical address APIs should be preferred over 32bit
    ones (once the new APIs are implemented!). Using APIs which only support
    32bit physical addresses will result in functionality being limited.
    5bd42912
HAL 131 KB