diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | kernel/exceptions/svc.S | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -9,6 +9,12 @@ - Ensure you have the `arm-none-eabi-gcc` cross compiler installed. - From the root of the directory, i.e. in `Jobbed`, execute `make -f Unix.mk` +## Building (Google Colab) + - !git clone https://github.com/TerminalCursor/Jobbed.git + - !apt install gcc-arm-none-eabi + - !cd Jobbed; make -f Unix.mk + - The built image is found in Jobbed/build/kernel7.img and can be copied to the root of the Raspberry Pi SD card's first parition + ## Getting Cross Compiler - https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/downloads diff --git a/kernel/exceptions/svc.S b/kernel/exceptions/svc.S index 452831a..1219413 100644 --- a/kernel/exceptions/svc.S +++ b/kernel/exceptions/svc.S @@ -21,7 +21,7 @@ svc_000000: // SYS_YIELD ldmfd sp!, {r0-r12,lr} b schedule svc_000001: // SYS_TIME - mov r2, #0x3004 + movw r2, #0x3004 movt r2, #0x3F00 ldr r0, [r2, #4] // <- SYS_TIMER_CLO ldr r1, [r2, #0] // <- SYS_TIMER_CHI |