aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-28simple interrupt handling functions declarations, without attributesWojtek Kosior
2019-12-28split kernel into 2 stages; second stage gets copied to 0x0 and runs from thereWojtek Kosior
2019-12-28modify comment in the top of loader_stage1.SWojtek Kosior
2019-12-28correct the notion of PIC in the commentWojtek Kosior
2019-12-28don't take kernel arguments (as we're making no use of them for now, anyway)Wojtek Kosior
2019-12-28forward arguments from the loaderWojtek Kosior
2019-12-28rewrite the stage 1 of bootloader in a more compact and (mostly) ↵Wojtek Kosior
load-addr-independent way
2019-12-28minor changes to MakefileWojtek Kosior
2019-12-28remove makefs executable when running `make clean`Wojtek Kosior
2019-12-28clean-up memory.hWojtek Kosior
2019-12-28use ldm instruction instead of libkernel for entering user mode; get rid of ↵Wojtek Kosior
libkernel (no longer needed)
2019-12-28remain in supervisor modeWojtek Kosior
2019-12-28make uint32_to_bits() inlineWojtek Kosior
2019-12-28place PL_0_test.img in ramfs instead of embedding it directlyWojtek Kosior
2019-12-28add ramfs driverWojtek Kosior
2019-12-28another hopefully last change to the format - add terminating null-byte at ↵Wojtek Kosior
the end of the entire ramfs
2019-12-28write the same null-padding loop a saner wayWojtek Kosior
2019-12-28add comments in makefs.cWojtek Kosior
2019-12-28another (hopefully last) change to our fs format - use C-style ↵Wojtek Kosior
NULL-terminated strings instead of length-padded
2019-12-27make int values always 4-aligned in fs imageWojtek Kosior
2019-12-27adjust bootloader's linker script use with newest version of boot.SWojtek Kosior
2019-12-27add userspace tool for creating ramfs imageWojtek Kosior
2019-12-26minor changes to boot codeWojtek Kosior
2019-12-26remove halt loop (not really needed + we want to get rid of pieces of code ↵Wojtek Kosior
copy-pasted from wiki osdev)
2019-12-26minor changes (comments, whitespace)Wojtek Kosior
2019-12-26improve linking of initial boot codeWojtek Kosior
2019-12-26improve linking of interruptsWojtek Kosior
2019-12-26simplify linker script; rely on initially-zero memory to be included in ↵Wojtek Kosior
binary image (no bss zeroing in assembly code)
2019-12-26fix linking of libkernelWojtek Kosior
2019-12-26add gitignoreWojtek Kosior
2019-12-24simplify linking of libkernelWojtek Kosior
2019-12-17don't embed stage2 of bootloader as binary blob - use smart section namingWojtek Kosior
2019-12-17Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alicevetch
# Conflicts: # kernel.c
2019-12-17small adjustmentvetch
2019-12-17add missing newline in outputWojtek Kosior
2019-12-17make things work again on real hw (setting system mode moved to boot.S)Wojtek Kosior
2019-12-17Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alicevetch
2019-12-17small update, try to fix interruptvetch
2019-12-17add forgotten libkernel.hWojtek Kosior
2019-12-17add forgotten libkernel.cWojtek Kosior
2019-12-17Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alicevetch
# Conflicts: # Makefile # PL0_test.c # kernel.c # linker.ld
2019-12-10update TODOsWojtek Kosior
2019-12-10remove old, unneeded uart_puts() callWojtek Kosior
2019-12-10Clean up flags in Makefile a bit.; -fPIC... -fPIC EVERYWHEREWojtek Kosior
2019-12-10re-enter system mode on invalid data access from PL0 codeWojtek Kosior
2019-12-10Revert "Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice"vetch
This reverts commit 5662aacc5688bba4873367ed9ab51fb83fbd1feb, reversing changes made to b0a6351d52af8bdf6fa9cca0d313df323249a520.
2019-12-10Revert "tmp kernel"vetch
This reverts commit b0a6351d52af8bdf6fa9cca0d313df323249a520.
2019-12-10Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alicevetch
2019-12-10tmp kernelvetch
2019-12-10slight update to interruptsvetch