mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
89483a9408
This patch brings Kernel::RangeAllocator to UserspaceEmulator in a slightly simplified form. It supports the basic three allocation types needed by virt$mmap(): allocate_anywhere, allocate_specific, and allocate_randomized. Porting virt$mmap() and virt$munmap() to use the allocator makes UE work correctly once again. :^)
16 lines
298 B
CMake
16 lines
298 B
CMake
set(SOURCES
|
|
Emulator.cpp
|
|
MallocTracer.cpp
|
|
MmapRegion.cpp
|
|
Range.cpp
|
|
RangeAllocator.cpp
|
|
Region.cpp
|
|
SimpleRegion.cpp
|
|
SoftCPU.cpp
|
|
SoftMMU.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(UserspaceEmulator)
|
|
target_link_libraries(UserspaceEmulator LibX86 LibDebug LibCore LibPthread)
|