36 Commits (37564cb9fd178f58b9e4c51f4549a12b5922ebb8)

Author SHA1 Message Date
WangRunji 37564cb9fd Change build target to `riscv32ia_unknown_none`
6 years ago
WangRunji de7d9a1b71 Fix asm, can use pseudo ops.
6 years ago
WangRunji ced765fb5b New crate `bbl`, port `sbi` mod.
6 years ago
WangRunji 211aeff841 Add bbl as bootloader
6 years ago
WangRunji c0193e69e6 Clear all code, make it compile for RISCV in docker.
6 years ago
WangRunji 1c80b95fe4 Add IDE driver. No longer link img.
7 years ago
WangRunji db8cd7b786 Use `LOG` env to set log level
7 years ago
WangRunji 58c8fc86d1 Fix 'make run'
7 years ago
WangRunji 5f98726cb8 Fix dead lock in release mode by using volatile.
7 years ago
WangRunji 2867ae60b6 Add ucore & xv6-x86_64 user program img file.
7 years ago
WangRunji 6c135bca24 Refactor interrupt mod and add some docs
7 years ago
WangRunji f4091c4d7e Change package name
7 years ago
WangRunji 601d0f85bd Add an event system in the Processor. Can sleep and wakeup.
7 years ago
WangRunji 731d6319e4 Can load user programs from sfs.img (hard linked).
7 years ago
WangRunji 5714df7c39 Remove `temporary_page` from function args
7 years ago
WangRunji 5075abc5b0 Make FrameAllocator global!
7 years ago
WangRunji 8ce3173c3d Link a user program from xv6-x86_64 in. Add elf crate.
7 years ago
WangRunji 7b39e4ce66 Fix link error when building on docker.
7 years ago
Ben Pig Chu a4fc897810 make docker workflow work on windows
7 years ago
WangRunji 2b813b2acc Set CPU num to 4. Init lapic for each. TODO: fix deadlock.
7 years ago
WangRunji cc34857482 Copy entrystart.S from xv6 x86_64, translate it to nasm, link @ 0x7000.
7 years ago
WangRunji 3b792baf5b ACK for APIC IRQ
7 years ago
WangRunji cf099ffa99 Make inits 'safe'
7 years ago
WangRunji 96258c6a0b Rewrite build.rs again
7 years ago
WangRunji b549d08724 Add debug_asm in Makefile
7 years ago
WangRunji 7f872901ce Serial stdio
7 years ago
WangRunji fc910d4b9d Change test pass error code, to avoid conflict with QEMU's
7 years ago
WangRunji c446d2bb5e Add test for travis
7 years ago
WangRunji 2e405a0393 Auto exit in qemu
7 years ago
WangRunji 936c485ab9 Port MP & RSDP detecting
7 years ago
WangRunji c436b9afbe Move asm to boot dir. Continue to refactor...
7 years ago
WangRunji 771839f0d7 Make it compile on macOS
7 years ago
WangRunji 4ce1ba8f6d Rewrite README. Add docker.
7 years ago
Philipp Oppermann ff623a90e3 Use --gc-sections to remove unused program sections
7 years ago
Philipp Oppermann 8dd179a6f4 Adjust the Makefile to build and link Rust code
7 years ago
Philipp Oppermann b3d457bd79 Add a Makefile
8 years ago