serenity/Userland/DevTools/UserspaceEmulator
Liav A 23a7ccf607 Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls
This is a preparation before we can create a usable mechanism to use
filesystem-specific mount flags.
To keep some compatibility with userland code, LibC and LibCore mount
functions are kept being usable, but now instead of doing an "atomic"
syscall, they do multiple syscalls to perform the complete procedure of
mounting a filesystem.

The FileBackedFileSystem IntrusiveList in the VFS code is now changed to
be protected by a Mutex, because when we mount a new filesystem, we need
to check if a filesystem is already created for a given source_fd so we
do a scan for that OpenFileDescription in that list. If we fail to find
an already-created filesystem we create a new one and register it in the
list if we successfully mounted it. We use a Mutex because we might need
to initiate disk access during the filesystem creation, which will take
other mutexes in other parts of the kernel, therefore making it not
possible to take a spinlock while doing this.
2023-07-02 01:04:51 +02:00
..
CMakeLists.txt Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Emulator.cpp Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Emulator.h Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls 2023-07-02 01:04:51 +02:00
Emulator_syscalls.cpp Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls 2023-07-02 01:04:51 +02:00
EmulatorControl.h
main.cpp LibFileSystem+Everything: Remove resolve_executable_from_environment 2023-06-06 23:46:36 +02:00
MallocTracer.cpp
MallocTracer.h
MmapRegion.cpp
MmapRegion.h
Range.cpp
Range.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
RangeAllocator.cpp
RangeAllocator.h
Region.cpp
Region.h
Report.h
SimpleRegion.cpp
SimpleRegion.h
SoftCPU.cpp
SoftCPU.h
SoftFPU.cpp Everywhere: Change all XXX into FIXME or remove as appropriate 2023-02-15 23:33:25 +01:00
SoftFPU.h
SoftMMU.cpp
SoftMMU.h Everywhere: Remove NonnullOwnPtr.h includes 2023-03-06 23:46:35 +01:00
SoftVPU.cpp
SoftVPU.h
ValueWithShadow.h