mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
Cleanup.
This commit is contained in:
parent
57136ad87e
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