diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-05 10:23:00 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-05 10:23:00 +0100 |
commit | 72cdc62155be8af67ff9328bc4226a69bbbb659c (patch) | |
tree | be86883b319ff581da9b04007ece362ebc75f4fe /Kernel/i386.cpp | |
parent | b5c5286ee19b6414ad20496e31913efb79002b2c (diff) | |
download | serenity-72cdc62155be8af67ff9328bc4226a69bbbb659c.zip |
Replace zones with individually tracked physical pages.
It's just a simple struct { ref_count, paddr }.
This will allow me to implement lazy zeroing and COW pages.
Diffstat (limited to 'Kernel/i386.cpp')
-rw-r--r-- | Kernel/i386.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/i386.cpp b/Kernel/i386.cpp index 22caeb0c43..fd1bb7564e 100644 --- a/Kernel/i386.cpp +++ b/Kernel/i386.cpp @@ -318,7 +318,7 @@ void gdt_init() s_gdt_freelist = new Vector<word, KmallocEternalAllocator>(); s_gdt_freelist->ensureCapacity(256); for (size_t i = s_gdtLength; i < 256; ++i) - s_gdt_freelist->uncheckedAppend(i * 8); + s_gdt_freelist->unchecked_append(i * 8); s_gdtLength = 256; s_gdtr.address = s_gdt; |