add arm64 support

- add arm64 dependent codes with GICv3 and SVE support
- fix bugs based on architecture separation requests
This commit is contained in:
Takayuki Okamoto
2017-09-05 15:06:27 +09:00
parent 704096b139
commit 9989f41fd3
192 changed files with 26941 additions and 34 deletions

View File

@@ -0,0 +1,56 @@
/* trampoline.S COPYRIGHT FUJITSU LIMITED 2015 */
.section .rodata, "a", @progbits
.globl trampoline_code_data
base = .
trampoline_code_data:
.org 8
header_pgtbl:
.quad 0 /* page table address */
func_address:
.quad 0 /* load address */
arg:
.quad 0 /* next address */
stack_ptr:
.quad 0 /* initial stack */
debug:
.quad 0 /* debug area */
transit_pgtbl:
.quad 0 /* 32->64 bit table address */
cpu_start_body:
.balign 8
protect_start:
.balign 8
start_64:
boot_idtptr:
.short 0
.long 0
boot_gdtptr:
.short boot_gdt32_end - boot_gdt32
.long boot_gdt32 - base
.align 4
boot_gdt32:
.quad 0
.quad 0
.quad 0x00cf9b000000ffff
.quad 0x00cf93000000ffff
.quad 0x00af9b000000ffff
.quad 0x0000890000000067
boot_gdt32_end:
start_64_vec:
.long start_64 - base
.word 0
stack:
.org 0x1000
stack_end:
.globl trampoline_code_data_end
trampoline_code_data_end: