Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/apic.s

14 lines
151 B
ArmAsm
Raw Permalink Normal View History

2023-03-06 14:48:14 +01:00
.text
.intel_syntax noprefix
.global _start
_start:
ret
apic_read:
mov eax, [edi*4+APIC_BASE]
ret
apic_write:
mov [edi*4+APIC_BASE], esi
ret