1
0
mirror of https://github.com/taigrr/gopher-os synced 2025-01-18 04:43:13 -08:00

Define and implement API for registering exception handlers

This commit is contained in:
Achilleas Anagnostopoulos
2017-06-21 17:57:15 +01:00
parent 5a2efb2bd3
commit 9adde8f5c1
5 changed files with 213 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ go.o:
@echo "[objcopy] creating global symbol alias 'kernel.Kmain' for 'github.com/achilleasa/gopher-os/kernel.Kmain' in go.o"
@objcopy \
--add-symbol kernel.Kmain=.text:0x`nm $(BUILD_DIR)/go.o | grep "kmain.Kmain$$" | cut -d' ' -f1` \
--globalize-symbol _rt0_interrupt_handlers \
$(BUILD_DIR)/go.o $(BUILD_DIR)/go.o
binutils_version_check: