#
#
#
#
# $FreeBSD: src/sys/boot/i386/libi386/pxetramp.s,v 1.3 2001/10/04 10:18:00 jhb Exp $
# $DragonFly: src/sys/boot/pc32/libi386/pxetramp.s,v 1.3 2003/11/10 06:08:36 dillon Exp $
.globl __bangpxeentry, __bangpxeseg, __bangpxeoff
.globl __pxenventry, __pxenvseg, __pxenvoff
.code16
.p2align 4,0x90
__bangpxeentry:
push %dx # seg:data
push %ax # off:data
push %bx # int16 func
.byte 0x9a # far call
__bangpxeoff: .word 0x0000 # offset
__bangpxeseg: .word 0x0000 # segment
add $6, %sp # restore stack
.byte 0xcb # to vm86int
#
__pxenventry:
.byte 0x9a # far call
__pxenvoff: .word 0x0000 # offset
__pxenvseg: .word 0x0000 # segment
.byte 0xcb # to vm86int