view fcdev3b-hacks/src/romvecs-insert.S @ 661:ba45f6514fb1

FFS: fixed bug in the case of journal_init() creating the journal on boot
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 20 May 2020 22:54:29 +0000
parents 8d9298e0823a
children
line wrap: on
line source

	.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