mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
Cleanup.
This commit is contained in:
parent
57136ad87e
commit
8e27cf2428
Notes:
sideshowbarker
2024-07-19 18:39:42 +09:00
Author: https://github.com/awesomekling
Commit: 8e27cf2428
1 changed files with 1 additions and 10 deletions
|
@ -30,7 +30,7 @@
|
||||||
#define TEST_VFS
|
#define TEST_VFS
|
||||||
//#define STRESS_TEST_SPAWNING
|
//#define STRESS_TEST_SPAWNING
|
||||||
//#define TEST_ELF_LOADER
|
//#define TEST_ELF_LOADER
|
||||||
#define TEST_CRASHY_USER_PROCESSES
|
//#define TEST_CRASHY_USER_PROCESSES
|
||||||
|
|
||||||
system_t system;
|
system_t system;
|
||||||
|
|
||||||
|
@ -112,15 +112,6 @@ static void init_stage2()
|
||||||
procfs->initialize();
|
procfs->initialize();
|
||||||
vfs->mount(procfs.copyRef(), "/proc");
|
vfs->mount(procfs.copyRef(), "/proc");
|
||||||
|
|
||||||
{
|
|
||||||
auto motdFile = vfs->open("/proc/summary");
|
|
||||||
ASSERT(motdFile);
|
|
||||||
auto motdData = motdFile->readEntireFile();
|
|
||||||
|
|
||||||
for (unsigned i = 0; i < motdData.size(); ++i) {
|
|
||||||
kprintf("%c", motdData[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TEST_CRASHY_USER_PROCESSES
|
#ifdef TEST_CRASHY_USER_PROCESSES
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue