-/* $OpenBSD: mptramp.s,v 1.21 2017/06/04 23:03:19 naddy Exp $ */
+/* $OpenBSD: mptramp.s,v 1.22 2017/06/29 07:51:59 mlarkin Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
movw %cs, %ax
movw %ax, %es
movw %ax, %ss
- addr32 lgdtl (gdt_desc) # load flat descriptor table
+ addr32 lgdtl (.Lgdt_desc) # load flat descriptor table
movl %cr0, %eax # get cr0
orl $0x1, %eax # enable protected mode
movl %eax, %cr0 # doit
- ljmpl $0x8, $mp_startup
+ ljmpl $0x8, $.Lmp_startup
-_TRMP_LABEL(mp_startup)
+_TRMP_LABEL(.Lmp_startup)
.code32
movl $0x10, %eax # data segment
.section .rodata
_C_LABEL(mp_tramp_data_start):
-_TRMP_DATA_LABEL(gdt_table)
+_TRMP_DATA_LABEL(.Lgdt_table)
.word 0x0,0x0,0x0,0x0 # null GDTE
GDTE(0x9f,0xcf) # Kernel text
GDTE(0x93,0xcf) # Kernel data
-_TRMP_DATA_OFFSET(gdt_desc)
+_TRMP_DATA_OFFSET(.Lgdt_desc)
.word 0x17 # limit 3 entries
- .long gdt_table # where is gdt
+ .long .Lgdt_table # where is gdt
_C_LABEL(mp_tramp_data_end):