svp compiler, early stage, works

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@359 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-02-18 21:19:11 +00:00
parent 5c129565f0
commit 259ed0ea66
3 changed files with 57 additions and 37 deletions

View file

@ -10,19 +10,14 @@
@ r9: r4-r6
@ r10: P
.global flush_inval_dcache
.global flush_inval_icache
.global flush_inval_caches
.text
.align 4
flush_inval_dcache:
mov r2, #0x0 @ ??
flush_inval_caches:
mov r2, #0x0 @ must be 0
swi 0x9f0002
bx lr
flush_inval_icache:
mov r2, #0x1
swi 0x9f0002
bx lr