version 1.139, 2016/11/11 11:00:38 |
version 1.141, 2016/11/25 14:12:55 |
Line 270 __KERNEL_RCSID(0, "$NetBSD$"); |
|
Line 270 __KERNEL_RCSID(0, "$NetBSD$"); |
|
*/ |
*/ |
.data |
.data |
|
|
#if NLAPIC > 0 |
|
.align PAGE_SIZE |
|
.globl _C_LABEL(local_apic) |
|
|
|
.type _C_LABEL(local_apic), @object |
|
LABEL(local_apic) |
|
.space PAGE_SIZE |
|
END(local_apic) |
|
#endif |
|
|
|
.globl _C_LABEL(tablesize) |
.globl _C_LABEL(tablesize) |
.globl _C_LABEL(nox_flag) |
.globl _C_LABEL(nox_flag) |
.globl _C_LABEL(cputype) |
.globl _C_LABEL(cputype) |
|
|
call _C_LABEL(initgdt) |
call _C_LABEL(initgdt) |
addl $4,%esp |
addl $4,%esp |
|
|
call xen_pmap_bootstrap |
call xen_locore |
|
|
/* |
/* |
* The first VA available is returned by xen_pmap_bootstrap in %eax. We |
* The first VA available is returned by xen_locore in %eax. We |
* use it as the UAREA, and set up the stack here. |
* use it as the UAREA, and set up the stack here. |
*/ |
*/ |
movl %eax,%esi |
movl %eax,%esi |