ladybird/Userland/DevTools/UserspaceEmulator/CMakeLists.txt
Andreas Kling 89483a9408 UserspaceEmulator: Implement a proper VM allocator
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. :^)
2021-02-06 23:15:44 +01:00

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)