Age | Commit message (Collapse) | Author |
|
Move the entire kernel into its own directory. Create new directories
for system commands, libraries and other required essentials for a
complete Unix-like operating system.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a function that generates and prints a stack trace to the screen.
This function relies on walk_stack() being implemented on the target
architecture.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Refactor the physical memory manager to be dramatically simpler. The new
design uses only a single freelist, and only uses temporary mappings
where needed.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Clean up everything in the i386 arch directory. This code has been in
dire need of refactoring for a long while. All the inline assembly
functions and the data structures related to the architecture should be
placed into their own header file. Now the scheduler can access
registers and ISRs without having to deal with arch-specific code.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a static variable to the panic function that should lock all other
CPUs.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a panic function that stops the current CPU and prints an error
message into the ring buffer.
Signed-off-by: Danny Holman <dholman@gymli.org>
|