aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* io: add serial output through port 0x3f8 (qemu)Tianhao Wang2024-06-11
| | | | | not yet wrapped with fmt macros because I want some thing stateless. (i.e. I don't want to pass `&mut self` to write_str...).
* toolchain: replace xbuild with build-stdTianhao Wang2024-06-11
| | | | | | | | | | | for a no_std build with custom target, we need to build the rust compoments including core, alloc and compiler builtins. Previously we do this with the cargo xbuild tool. however it has some bugs with newer toolchains. The official build-std feature is not stable but looks promising! Also we could reduce a lot of build dependencies. References: https://github.com/rust-in-action/code/issues/14 Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
* debug: add basic setup for qemu/gdbTianhao Wang2024-06-11
|
* mm: fully map the kernel to high memoryTianhao Wang2024-06-11
|
* makefile: default to cargo debug buildTianhao Wang2024-06-11
| | | | | | | we should define debug and release targets, but hardcoding in makefile for now. Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
* makefile: mute ld RWX warningTianhao Wang2024-06-11
|
* choreTianhao Wang2024-06-11
|
* nasm: ignore zeroing warningTianhao Wang2024-06-11
| | | | | | When using `resb` outside of a BSS section, nasm will yell at you. But we know what we are doing! We never expect zero-init for such reserved spaces!
* check formatting in make scriptTianhao Wang2024-06-11
|
* rename `compiler` directory to `defs`Tianhao Wang2024-06-11
| | | | the name `compiler` is ambiguous
* makefile: fix cargo release buildTianhao Wang2024-06-11
|
* re-organize codeTianhao Wang2024-06-11
|
* format makefileTianhao Wang2024-06-11
|
* throw binaries into builds/Tianhao Wang2024-06-11
|
* minimize iso size.Tianhao Wang2024-06-11
|
* CGA cursor locationTianhao Wang2023-03-14
|
* PHONY targetTianhao Wang2023-03-14
|
* cleanupTianhao Wang2023-03-14
|
* rework makefile, include other asm sourcesTianhao Wang2023-03-14
|
* clean upTianhao Wang2023-03-11
|
* readmeTianhao Wang2023-03-11
|
* fix linkingTianhao Wang2023-03-11
|
* a minimal working demo on bare metalTianhao Wang2023-03-10