diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-08-03 20:48:02 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2010-08-03 20:48:02 -0700 |
commit | b93785370d0be893e0a484ec22f1365db184dcce (patch) | |
tree | 4d2feed338dad348f69213bc655d7f49feadb2d0 /boot.S | |
parent | 8b9b445a198d40e7076ca88c5aa742cd3dc72bd4 (diff) | |
download | pk-b93785370d0be893e0a484ec22f1365db184dcce.zip pk-b93785370d0be893e0a484ec22f1365db184dcce.tar.gz pk-b93785370d0be893e0a484ec22f1365db184dcce.tar.bz2 |
[pk,sim,xcc] Renamed instructions to RISC-V spec
All word-sized arithmetic operations are now postfixed with 'w',
and all double-word-sized arithmetic operations are no longer
prefixed with 'd'. mtc0/mfc0 are removed and replaced with
mfpcr/mtpcr/mwfpcr/mwtpcr.
Diffstat (limited to 'boot.S')
-rw-r--r-- | boot.S | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,17 +5,17 @@ __start: # set up SR li $t0, 0xFF - dmtc0 $t0, $0 + mtpcr $t0, $0 # set up trap table - dla $t0, trap_table - dmtc0 $t0, $3 + la $t0, trap_table + mtpcr $t0, $3 # set up stack - dla $sp,stack_top-64 + la $sp,stack_top-64 # call into kernel - dla $t0, boot + la $t0, boot jr $t0 .end __start |