mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
Typo fixes.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
70ce4b4fc1
commit
85ceb7920e
@@ -47,7 +47,7 @@
|
||||
* l3 = trap type
|
||||
*
|
||||
* NOTE: By an executive defined convention, trap type is between 0 and 255 if
|
||||
* it is an asynchonous trap and 256 and 511 if it is synchronous.
|
||||
* it is an asynchronous trap and 256 and 511 if it is synchronous.
|
||||
*/
|
||||
|
||||
.align 4
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define RTRAP(_vector, _handler) mov %g0, %l0 ; sethi %hi(_handler), %l4 ; jmp %l4+%lo(_handler); mov _vector, %l3
|
||||
#define TRAP(_vector, _handler) mov %psr, %l0; sethi %hi(_handler), %l4 ; jmp %l4+%lo(_handler); mov _vector, %l3
|
||||
|
||||
/* Unexcpected trap will halt the processor by forcing it to error state */
|
||||
/* Unexpected trap will halt the processor by forcing it to error state */
|
||||
#define BAD_TRAP ta 0; nop; nop; nop;
|
||||
#define SOFT_TRAP BAD_TRAP /* Software trap. Treat as BAD_TRAP */
|
||||
|
||||
@@ -87,7 +87,7 @@ _hardreset:
|
||||
RTRAP(0,__start); ! 00 reset trap
|
||||
BAD_TRAP; ! 01 instruction_access_exception
|
||||
BAD_TRAP; ! 02 illegal_instruction
|
||||
BAD_TRAP; ! 03 priveleged_instruction
|
||||
BAD_TRAP; ! 03 privileged_instruction
|
||||
TRAP(4,_fpdis_enable); ! 04 fp_disabled
|
||||
WOTRAP(5,_window_overflow); ! 05 window_overflow
|
||||
WUTRAP(6,_window_underflow); ! 06 window_underflow
|
||||
@@ -312,7 +312,7 @@ __start:
|
||||
ldd [%g1], %f30
|
||||
nop
|
||||
|
||||
! initial cache controler
|
||||
! initial cache controller
|
||||
set BM3803_REG, %g1
|
||||
set 0x81000f,%g2 !open dcache,icache, dcache snoop,icache burst
|
||||
! set 0x80000f,%g2 !open dcache,icache, dcache snoop
|
||||
|
||||
@@ -148,7 +148,7 @@ static void bm3803_oneshot_handler(void *arg)
|
||||
* lower An instance of the lower-half oneshot state structure. This
|
||||
* structure must have been previously initialized via a call to
|
||||
* oneshot_initialize();
|
||||
* ts The location in which to return the maxumum delay.
|
||||
* ts The location in which to return the maximum delay.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success; a negated errno value is returned
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
* l3 = trap type
|
||||
*
|
||||
* NOTE: By an executive defined convention, trap type is between 0 and 255 if
|
||||
* it is an asynchonous trap and 256 and 511 if it is synchronous.
|
||||
* it is an asynchronous trap and 256 and 511 if it is synchronous.
|
||||
*/
|
||||
|
||||
.align 4
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define RTRAP(_vector, _handler) mov %g0, %l0 ; sethi %hi(_handler), %l4 ; jmp %l4+%lo(_handler); mov _vector, %l3
|
||||
#define TRAP(_vector, _handler) mov %psr, %l0; sethi %hi(_handler), %l4 ; jmp %l4+%lo(_handler); mov _vector, %l3
|
||||
|
||||
/* Unexcpected trap will halt the processor by forcing it to error state */
|
||||
/* Unexpected trap will halt the processor by forcing it to error state */
|
||||
#define BAD_TRAP ta 0; nop; nop; nop;
|
||||
#define SOFT_TRAP BAD_TRAP /* Software trap. Treat as BAD_TRAP */
|
||||
|
||||
@@ -87,7 +87,7 @@ _hardreset:
|
||||
RTRAP(0,__start); ! 00 reset trap
|
||||
BAD_TRAP; ! 01 instruction_access_exception
|
||||
BAD_TRAP; ! 02 illegal_instruction
|
||||
BAD_TRAP; ! 03 priveleged_instruction
|
||||
BAD_TRAP; ! 03 privileged_instruction
|
||||
TRAP(4,_fpdis_enable); ! 04 fp_disabled
|
||||
WOTRAP(5,_window_overflow); ! 05 window_overflow
|
||||
WUTRAP(6,_window_underflow); ! 06 window_underflow
|
||||
@@ -313,7 +313,7 @@ __start:
|
||||
ldd [%g1], %f30
|
||||
nop
|
||||
|
||||
! initial cache controler
|
||||
! initial cache controller
|
||||
set EXTER_REG, %g1
|
||||
set 0x81000f,%g2 !open dcache,icache, dcache snoop,icache burst
|
||||
! set 0x80000f,%g2 !open dcache,icache, dcache snoop
|
||||
|
||||
Reference in New Issue
Block a user