Andreas Kling
|
ec1d16b307
Add a "pwd" utility to userland.
|
6 lat temu |
Andreas Kling
|
5f36a5f22e
Add an lstat() syscall and use it to make "ls" nicer.
|
6 lat temu |
Andreas Kling
|
bca4b71bfa
Lots of hacking to make a very simple "ls" utility.
|
6 lat temu |
Andreas Kling
|
0c5bbac86e
Add an InterruptDisabler helper class and use that for kmalloc.
|
6 lat temu |
Andreas Kling
|
9a296d63f3
Add simplified mmap() and munmap() syscalls.
|
6 lat temu |
Andreas Kling
|
a5caf7ca99
Make the kmalloc global stats variable volatile.
|
6 lat temu |
Andreas Kling
|
3253a23b91
Add a simplified waitpid() so that sh can wait on spawned commands.
|
6 lat temu |
Andreas Kling
|
018da1be11
Generalize the SpinLock and move it to AK.
|
6 lat temu |
Andreas Kling
|
d90d125dfe
Add an undertaker task that is responsible for destroying dead tasks.
|
6 lat temu |
Andreas Kling
|
ccd15e0590
Various things:
|
6 lat temu |
Andreas Kling
|
63e253bac9
Generate a basic /proc/summary file with some info about all tasks.
|
6 lat temu |
Andreas Kling
|
ed2422d7af
Start adding a basic /proc filesystem and a "ps" utility.
|
6 lat temu |
Andreas Kling
|
fe237ee215
Lots of hacking:
|
6 lat temu |
Andreas Kling
|
b824f15619
Launching an arbitrary ELF executable from disk works! :^)
|
6 lat temu |
Andreas Kling
|
85bcf2ed0f
Add getgid() and getpid() syscalls. Prep for LibC.
|
6 lat temu |
Andreas Kling
|
3a3c57357c
Add a sys$exit and make init_stage2 call it when finished.
|
6 lat temu |
Andreas Kling
|
79ffdb7205
A lot of hacking:
|
6 lat temu |
Andreas Kling
|
dd6706a1a1
Fix null deref in contextSwitch().
|
6 lat temu |
Andreas Kling
|
46ff281695
Turn the syscall interrupt into a trap (by switching the gate type.)
|
6 lat temu |
Andreas Kling
|
3649638259
Add Regions concept to Task.
|
6 lat temu |
Andreas Kling
|
f67d695254
More paging stuff.
|
6 lat temu |
Andreas Kling
|
89851a9ded
Use FileHandle from VFS.
|
6 lat temu |
Andreas Kling
|
9d5de91cf3
Actually destroy tasks after they crash.
|
6 lat temu |
Andreas Kling
|
56c1f9db8e
A userspace process can now GPF and the OS goes on!
|
6 lat temu |
Andreas Kling
|
77299cf54d
Add basic paging. Only identity maps the bottom 4MB as a start.
|
6 lat temu |
Andreas Kling
|
9171521752
Integrate ext2 from VFS into Kernel.
|
6 lat temu |
Andreas Kling
|
72bb80a9ae
These changes were lying around uncommitted in the old repo.
|
6 lat temu |
Andreas Kling
|
9396108034
Import the "gerbert" kernel I worked on earlier this year.
|
6 lat temu |