aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/apic.s
blob: d500799a73b82e1cdb1603a5db5d3b2a5a6b08a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
	.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