ladybird/Kernel
Andreas Kling c76dc9a047 Add /proc/mm and a /bin/mm utility that just dumps it.
This shows some info about the MM. Right now it's just the zone count
and the number of free physical pages. Lots more can be added.

Also added "exit" to sh so we can nest shells and exit from them.

I also noticed that we were leaking all the physical pages, so fixed that.
2018-10-28 10:28:21 +01:00
..
Boot Enable A20 line at boot. 2018-10-27 14:09:33 +02:00
.bochsrc Add gettimeofday() syscall and LibC wrappers gettimeofday() and time(). 2018-10-25 17:36:18 +02:00
.gitignore Stop committing changes to _fs_contents and generate it in the sync script. 2018-10-28 01:21:15 +02:00
_fs_contents.stock Stop committing changes to _fs_contents and generate it in the sync script. 2018-10-28 01:21:15 +02:00
_hello.cpp ELFLoader works inside the kernel! 2018-10-18 15:46:08 +02:00
_start.cpp Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
_test.cpp Tweak _test.o to use the putch() syscall. 2018-10-22 11:53:59 +02:00
Assertions.h Add a simple IDEDiskDevice class that implements DiskDevice from VFS. 2018-10-16 14:17:43 +02:00
CMOS.cpp Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
CMOS.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
Console.cpp Add save/unsave cursor escape sequences. 2018-10-28 01:44:53 +02:00
Console.h Add save/unsave cursor escape sequences. 2018-10-28 01:44:53 +02:00
Disk.cpp Remove old DatBuffer class. 2018-10-25 10:50:30 +02:00
Disk.h Remove old DatBuffer class. 2018-10-25 10:50:30 +02:00
errno.h Implement sys$chdir() and teach sh+ls to cd around and browse different dirs. 2018-10-26 14:24:11 +02:00
ext2fs.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
i386.cpp Implement loading of linked ELF executables. 2018-10-27 14:56:52 +02:00
i386.h Add an InterruptDisabler helper class and use that for kmalloc. 2018-10-24 11:07:53 +02:00
i8253.cpp Generalize the SpinLock and move it to AK. 2018-10-23 23:34:05 +02:00
i8253.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
IDEDiskDevice.cpp Add a simple IDEDiskDevice class that implements DiskDevice from VFS. 2018-10-16 14:17:43 +02:00
IDEDiskDevice.h Add a simple IDEDiskDevice class that implements DiskDevice from VFS. 2018-10-16 14:17:43 +02:00
init.cpp Add basic support for ANSI color escape sequences. 2018-10-28 00:56:19 +02:00
InlineLinkedList.h Generate a basic /proc/summary file with some info about all tasks. 2018-10-23 12:44:46 +02:00
IO.cpp Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
IO.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
IRQHandler.cpp Add IRQHandler class that can be subclasses to handle an IRQ. 2018-10-22 12:58:29 +02:00
IRQHandler.h Add IRQHandler class that can be subclasses to handle an IRQ. 2018-10-22 12:58:29 +02:00
kassert.h Selectively disable interrupts in MM. 2018-10-25 10:15:28 +02:00
Keyboard.cpp Implement a basic way for read() to block. 2018-10-25 13:09:56 +02:00
Keyboard.h Implement a basic way for read() to block. 2018-10-25 13:09:56 +02:00
kmalloc.cpp Greatly improve /proc/PID/stack by tracing the ebp frame chain. 2018-10-27 00:14:24 +02:00
kmalloc.h Greatly improve /proc/PID/stack by tracing the ebp frame chain. 2018-10-27 00:14:24 +02:00
kprintf.cpp Add some basic field width support to printf(). 2018-10-27 16:43:03 +02:00
kprintf.h ELFLoader should fail with an error message for unresolved symbols. 2018-10-25 10:02:04 +02:00
kstdio.h Move kprintf to its own file. It has nothing to do with VGA anymore. 2018-10-22 13:20:35 +02:00
ktime.h Fix some minor build warnings. 2018-10-17 16:48:43 +02:00
linker.ld Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
Makefile Canonicalize the path used by sh. 2018-10-28 09:36:21 +01:00
MemoryManager.cpp Add /proc/mm and a /bin/mm utility that just dumps it. 2018-10-28 10:28:21 +01:00
MemoryManager.h Add /proc/mm and a /bin/mm utility that just dumps it. 2018-10-28 10:28:21 +01:00
mkmap.sh Add a very hackish /proc/PID/stack. 2018-10-26 22:33:15 +02:00
PIC.cpp A lot of hacking: 2018-10-22 11:15:16 +02:00
PIC.h Add a PIC::getISR() helper. 2018-10-17 16:54:49 +02:00
ProcFileSystem.cpp Add /proc/mm and a /bin/mm utility that just dumps it. 2018-10-28 10:28:21 +01:00
ProcFileSystem.h Add a simple /proc/mounts that enumerates the current VFS mounts. 2018-10-26 18:43:25 +02:00
Queue.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
RefCounted.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
RefPtr.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
RTC.cpp Add gettimeofday() syscall and LibC wrappers gettimeofday() and time(). 2018-10-25 17:36:18 +02:00
RTC.h Add gettimeofday() syscall and LibC wrappers gettimeofday() and time(). 2018-10-25 17:36:18 +02:00
run Allow running in QEMU with "./run q" 2018-10-17 16:58:35 +02:00
StdLib.cpp Print the contents of motd.txt on boot. 2018-10-17 12:07:39 +02:00
StdLib.h Greatly improve /proc/PID/stack by tracing the ebp frame chain. 2018-10-27 00:14:24 +02:00
sync-sh Add /proc/mm and a /bin/mm utility that just dumps it. 2018-10-28 10:28:21 +01:00
Syscall.cpp Add sys$set_mmap_name and use it from LibC's malloc. 2018-10-28 09:57:22 +01:00
Syscall.h Add sys$set_mmap_name and use it from LibC's malloc. 2018-10-28 09:57:22 +01:00
system.h Greatly improve /proc/PID/stack by tracing the ebp frame chain. 2018-10-27 00:14:24 +02:00
Task.cpp Add sys$set_mmap_name and use it from LibC's malloc. 2018-10-28 09:57:22 +01:00
Task.h Add subregions to /proc/PID/vm 2018-10-28 10:03:54 +01:00
TSS.h Import the "gerbert" kernel I worked on earlier this year. 2018-10-16 11:02:00 +02:00
types.h Implement loading of linked ELF executables. 2018-10-27 14:56:52 +02:00
VGA.cpp Implement 'H' and 'J' escape sequences. 2018-10-27 23:42:20 +02:00
VGA.h Implement 'H' and 'J' escape sequences. 2018-10-27 23:42:20 +02:00