Andreas Kling
|
153ea704af
Add some basic signal support.
|
6 years ago |
Andreas Kling
|
9e62eb4856
Only COW on fault if the physical page has retain_count > 1.
|
6 years ago |
Andreas Kling
|
2d045d2a64
Implement COW pages! :^)
|
6 years ago |
Andreas Kling
|
e85c22fe58
Tidy up the page fault code a bit in preparation.
|
6 years ago |
Andreas Kling
|
72cdc62155
Replace zones with individually tracked physical pages.
|
6 years ago |
Andreas Kling
|
7fe4063323
Region::clone() should share the zone if it's read-only.
|
6 years ago |
Andreas Kling
|
da13c9a264
Map pages in read-only ELF sections as non-writable.
|
6 years ago |
Andreas Kling
|
aa6d06b47e
Use ELF program headers to load executables smarter.
|
6 years ago |
Andreas Kling
|
20fb1fc377
Fix some bugs in execve() and make sh use it for process launching.
|
6 years ago |
Andreas Kling
|
202bdb553c
Implemented sys$execve().
|
6 years ago |
Andreas Kling
|
b59ce22fc5
Fix dumb-but-hard-to-find bug in paging.
|
6 years ago |
Andreas Kling
|
8accc92c3c
Implement fork()!
|
6 years ago |
Andreas Kling
|
812e7940e2
Add a simple /proc/cpuinfo that includes some info from CPUID.
|
6 years ago |
Andreas Kling
|
90ddbca127
Free physical pages allocated for a process's page directory on exit.
|
6 years ago |
Andreas Kling
|
fce81d376c
Move Region and Subregion out of Process and make them free classes.
|
6 years ago |
Andreas Kling
|
3e532ac7b6
Process now maps regions immediately when they are allocated.
|
6 years ago |
Andreas Kling
|
c178d7a9e3
Remove some unused MM functions.
|
6 years ago |
Andreas Kling
|
0f70b9105f
Implement address validation by querying the task's page directory.
|
6 years ago |
Andreas Kling
|
5891691640
Fix /proc/PID/stack in the new per-process page directory world.
|
6 years ago |
Andreas Kling
|
c45f166c63
More work on per-process page directories. It basically works now!
|
6 years ago |
Andreas Kling
|
1da0a7c949
Give each task its own page directory.
|
6 years ago |
Andreas Kling
|
dec5683e9c
Snazz up the kprintf() output a bit by giving it its own color.
|
6 years ago |
Andreas Kling
|
819ce91395
Enough compatibility work to make figlet build and run!
|
6 years ago |
Andreas Kling
|
c76dc9a047
Add /proc/mm and a /bin/mm utility that just dumps it.
|
6 years ago |
Andreas Kling
|
9a71c7759a
Implement loading of linked ELF executables.
|
6 years ago |
Andreas Kling
|
1c49b34b93
Selectively disable interrupts in MM.
|
6 years ago |
Andreas Kling
|
44045b258c
Teach MM to flush individual TLB entries only.
|
6 years ago |
Andreas Kling
|
d133a2845f
Add missing TLB flushes.
|
6 years ago |
Andreas Kling
|
98f76f0153
Flush the TLB after modifying page tables.
|
6 years ago |
Andreas Kling
|
fe237ee215
Lots of hacking:
|
6 years ago |