mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 16:33:24 +00:00
Add .code64
to the x86 trap assembly
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
8b69aba0b8
commit
2ddcd2d9a7
@ -15,6 +15,8 @@
|
|||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.code64
|
||||||
|
|
||||||
.text
|
.text
|
||||||
# extern "sysv64" fn syscall_return(&mut GeneralRegs)
|
# extern "sysv64" fn syscall_return(&mut GeneralRegs)
|
||||||
.global syscall_return
|
.global syscall_return
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
* SPDX-License-Identifier: MPL-2.0
|
* SPDX-License-Identifier: MPL-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.code64
|
||||||
|
|
||||||
.equ NUM_INT, 256
|
.equ NUM_INT, 256
|
||||||
|
|
||||||
.altmacro
|
.altmacro
|
||||||
|
Reference in New Issue
Block a user