FreeCalypso > hg > fc-magnetite
changeset 470:fb5c5859ad22
romvecs-patch: insert code moved into src subdir
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Mar 2018 05:46:28 +0000 |
parents | 2ce0f8b191be |
children | 445ac5be0619 |
files | .hgignore romvecs-patch/Makefile romvecs-patch/romvecs-insert.S romvecs-patch/src/Makefile romvecs-patch/src/romvecs-insert.S |
diffstat | 5 files changed, 32 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sun Mar 25 05:44:38 2018 +0000 +++ b/.hgignore Sun Mar 25 05:46:28 2018 +0000 @@ -9,5 +9,5 @@ ^helpers/srec4ram$ ^helpers/str2ind-ver$ -^romvecs-patch/romvecs-insert.lst$ -^romvecs-patch/romvecs-insert.o$ +^romvecs-patch/src/romvecs-insert.lst$ +^romvecs-patch/src/romvecs-insert.o$
--- a/romvecs-patch/Makefile Sun Mar 25 05:44:38 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -all: romvecs-insert.lst - -romvecs-insert.o: romvecs-insert.S - arm-elf-gcc -c $< - -romvecs-insert.lst: romvecs-insert.o - arm-elf-objdump -d $< > $@ - -clean: - rm -f romvecs-insert.o romvecs-insert.lst
--- a/romvecs-patch/romvecs-insert.S Sun Mar 25 05:44:38 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ - .text - .code 32 - .globl _entry - -_entry: adr r0, vectors - ldmia r0, {r1-r7} - mov r0, #0x800000 - stmia r0, {r1-r7} - ldr pc, jumpaddr - -vectors: - .word 0x4000 - .word 0x4004 - .word 0x4008 - .word 0x400C - .word 0x4010 - .word 0x4014 - .word 0x4018 -jumpaddr: - .word 0x4058
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/romvecs-patch/src/Makefile Sun Mar 25 05:46:28 2018 +0000 @@ -0,0 +1,10 @@ +all: romvecs-insert.lst + +romvecs-insert.o: romvecs-insert.S + arm-elf-gcc -c $< + +romvecs-insert.lst: romvecs-insert.o + arm-elf-objdump -d $< > $@ + +clean: + rm -f romvecs-insert.o romvecs-insert.lst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/romvecs-patch/src/romvecs-insert.S Sun Mar 25 05:46:28 2018 +0000 @@ -0,0 +1,20 @@ + .text + .code 32 + .globl _entry + +_entry: adr r0, vectors + ldmia r0, {r1-r7} + mov r0, #0x800000 + stmia r0, {r1-r7} + ldr pc, jumpaddr + +vectors: + .word 0x4000 + .word 0x4004 + .word 0x4008 + .word 0x400C + .word 0x4010 + .word 0x4014 + .word 0x4018 +jumpaddr: + .word 0x4058