Increase E820 entries num back to 48

Reenable 1GB page support
This commit is contained in:
xmm15 2020-02-23 07:33:04 -06:00
parent c0ce8e938a
commit 837c4dda5e
4 changed files with 4 additions and 6 deletions

View File

@ -169,8 +169,6 @@ $BK,1$* Zenith 1.0 released.$BK,0$
* Added $LK,"Cls",A="MN:Cls"$() and $LK,"ZCls",A="MN:ZCls"$().
* Fixed typo in class name: CRAXRBCRCXRDX -> $LK,"CRAXRBXRCXRDX",A="MN:CRAXRBXRCXRDX"$.
* Functions starting with 'A' for Adam now start with 'Z' for Zenith.
* $UL$Decompressed all files.$UL,0$ Removed Zip(), Unzip(), and ZipRep(). Slightly modified $LK,"FileRead",A="MN:FileRead"$() to disable reading compressed files. Removal of compression planned for the future.

View File

@ -404,7 +404,7 @@ class CSysLimitBase
};
#help_index "Memory/Info"
#define MEM_E820_ENTRIES_NUM 24
#define MEM_E820_ENTRIES_NUM 48
#define MEM_E820t_USABLE 1
#define MEM_E820t_RESERVED 2
#define MEM_E820t_ACPI 3

View File

@ -7,9 +7,9 @@ SYS_INIT_PAGE_TABLES::
MOV EAX,0x80000001
CPUID
MOV EAX,1<<21
// BT EDX,26
// JNC @@05
// MOV EAX,1<<30
BT EDX,26
JNC @@05
MOV EAX,1<<30
@@05: MOV U32 [MEM_PAGE_SIZE],EAX
//Set mapped space limit