| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | chore: add v2p and p2v conversion wrt. id mapping | Tianhao Wang | 2024-06-11 |
| | | | | | Also renamed a few symbols to avoid confusion. | ||
| * | mm: add basic paging infra from x86_64 crate | Tianhao Wang | 2024-06-11 |
| | | | | | | | | | | | the x86_64 crate is pretty solid and has a permissive license (Apache/MIT), but I want to make this myself in the future to "experience" the unsafe rust further....Also it has too many abstractions, which is justified as a library, but not ideal for a from sctrach toy OS as it hides the lower end. Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | mm: add stack based PMA | Tianhao Wang | 2024-06-11 |
| | | | | | | | | use 8MiB reserved array to manage up to 4GiB of physical memory (4K Pages only) Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | multiboot: parse mmap blocks | Tianhao Wang | 2024-06-11 |
| | | | | | Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | multiboot: get memory info from MB info | Tianhao Wang | 2024-06-11 |
| | | | | | Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | multiboot: basic support for multiboot info | Tianhao Wang | 2024-06-11 |
| | | | | | | | | | well, it's not trivial to use bios function because thanks to grub + multiboot, we are already in protected mode when the startup code takes control. Also the MB info is easier to play with than BIOS (or ACPI) Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | chore | Tianhao Wang | 2024-06-11 |
| | | |||
| * | interrupt: add rust binding for idt | Tianhao Wang | 2024-06-11 |
| | | |||
| * | chore | Tianhao Wang | 2024-06-11 |
| | | |||
| * | pic: initialize with rust code | Tianhao Wang | 2024-06-11 |
| | | |||
| * | keyboard: implement leds and reboot | Tianhao Wang | 2024-06-11 |
| | | | | | works on qemu, untested on real machine | ||
| * | paging: add basic bitmap frame allocator | Tianhao Wang | 2024-06-11 |
| | | |||
| * | add mm and ds modules (yet empty) | Tianhao Wang | 2024-06-11 |
| | | |||
| * | MM: add modules for memory management | Tianhao Wang | 2024-06-11 |
| | | |||
| * | PS/2 Keyboard controller: read and decode key | Tianhao Wang | 2024-06-11 |
| | | |||
| * | basic interrupt/PIC support | Tianhao Wang | 2024-06-11 |
| | | |||
| * | add println! and panic! macro | Tianhao Wang | 2024-02-01 |
| | | | | | | The rust lazy_static requires interior mutability. I have to include a Mutex impl (spin::Mutex). But I'd like to implement my own primitives. | ||
| * | Allow dead_code and unused_imports at crate level | Tianhao Wang | 2024-02-01 |
| | | | | | | | to make the linter shutup.... You stupid linter, this is a new project! ofc there are stuffs defined not used.... I'll let you do the job when I finish... :( | ||
| * | formatting code, use tab identation -- before it's too late | Tianhao Wang | 2024-01-30 |
| | | |||
| * | usable printf, with some ptr magic | Tianhao Wang | 2023-03-15 |
| | | |||
| * | CGA cursor location | Tianhao Wang | 2023-03-14 |
| | | |||
| * | cleanup | Tianhao Wang | 2023-03-14 |
| | | |||
| * | adding io port | Tianhao Wang | 2023-03-11 |
| | | |||
| * | fix linking | Tianhao Wang | 2023-03-11 |
| | | |||
| * | a minimal working demo on bare metal | Tianhao Wang | 2023-03-10 |
