mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 12:37:40 +00:00

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. :^)
15 lines
298 B
CMake
15 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)
|