git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compilation issues in aarch64 ports
[lunaix-os.git]
/
lunaix-os
/
arch
/
aarch64
/
exception
/
entries.S
diff --git
a/lunaix-os/arch/aarch64/exception/entries.S
b/lunaix-os/arch/aarch64/exception/entries.S
index ec96927b3e5aae10bb8b36914ed0e4be2fed2ffb..b7cbef8e051b7e8e3c5617b70e831fd053e67cd2 100644
(file)
--- a/
lunaix-os/arch/aarch64/exception/entries.S
+++ b/
lunaix-os/arch/aarch64/exception/entries.S
@@
-3,17
+3,17
@@
#include <asm/aa64_msrs.h>
.macro aa64_exception_entry type
#include <asm/aa64_msrs.h>
.macro aa64_exception_entry type
- .align
128
+ .align
7
.type _exception_entry_t\type, @function
.type _exception_entry_t\type, @function
-
#
each handler has at most 128 bytes (32 insts)
+
//
each handler has at most 128 bytes (32 insts)
_exception_entry_t\type:
stp x1, x0, [sp, #-16]
_exception_entry_t\type:
stp x1, x0, [sp, #-16]
-
#
re-purpose the [63, 56] of ESR to exception
-
#
type identifier
+
//
re-purpose the [63, 56] of ESR to exception
+
//
type identifier
- mov x0,
=
\type
+ mov x0,
#
\type
lsl x0, x0, #56
mrs x1, ESR_EL1
orr x0, x0, x1
lsl x0, x0, #56
mrs x1, ESR_EL1
orr x0, x0, x1
@@
-28,7
+28,7
@@
.section .text
.globl aa64_vbase
.section .text
.globl aa64_vbase
- .align
128
+ .align
7
aa64_vbase:
aa64_exception_entry EXCEPTION_SYNC
aa64_vbase:
aa64_exception_entry EXCEPTION_SYNC