freebsd-nq/sys/i386/bios/apm_init/apm_init.inc
Poul-Henning Kamp 64bb0d8861 On my GW2K Handbook486 this code would reset when called from locore.s
I think I have narrowed this down to the stack being overflown.  I have
taken the push/pop of %fs out, it shouldn't be needed anyway, but the
real & correct solution might to save the registers on the stack in
locore.s before calling this stuff.
1994-10-01 21:29:50 +00:00

60 lines
3.0 KiB
SQL

/* This file is automatically generated by bin2asm */
/* Original file is 'apm_init' */
.byte 0xfa, 0x55, 0x66, 0x8c, 0xd8, 0x66, 0x8e, 0xe0
.byte 0x66, 0xb8, 0xf0, 0x00, 0x66, 0x8e, 0xd8, 0x66
.byte 0x8e, 0xc0, 0x66, 0x8e, 0xd0, 0x89, 0x25, 0x84
.byte 0x01, 0x00, 0x00, 0xbc, 0x00, 0x00, 0x01, 0x00
.byte 0x0f, 0x01, 0x0d, 0xa0, 0x01, 0x00, 0x00, 0xe8
.byte 0x14, 0x01, 0x00, 0x00, 0xb4, 0x53, 0xb0, 0x00
.byte 0x66, 0xbb, 0x00, 0x00, 0x00, 0x00, 0xfb, 0xcd
.byte 0x15, 0xfa, 0x73, 0x15, 0x66, 0xe8, 0xce, 0x00
.byte 0x00, 0x00, 0xc7, 0x05, 0x88, 0x01, 0x00, 0x00
.byte 0xff, 0xff, 0xff, 0xff, 0xe9, 0x8c, 0x00, 0x00
.byte 0x00, 0x89, 0xc2, 0x66, 0xe8, 0xb7, 0x00, 0x00
.byte 0x00, 0x80, 0xff, 0x50, 0x75, 0x05, 0x80, 0xfb
.byte 0x4d, 0x74, 0x0c, 0xc7, 0x05, 0x88, 0x01, 0x00
.byte 0x00, 0xff, 0xff, 0xff, 0xff, 0xeb, 0x6e, 0xf7
.byte 0xc1, 0x02, 0x00, 0x00, 0x00, 0x75, 0x0c, 0xc7
.byte 0x05, 0x88, 0x01, 0x00, 0x00, 0xfe, 0xff, 0xff
.byte 0xff, 0xeb, 0x5a, 0x89, 0x15, 0x88, 0x01, 0x00
.byte 0x00, 0x81, 0xe1, 0xff, 0xff, 0x00, 0x00, 0x89
.byte 0x0d, 0x8c, 0x01, 0x00, 0x00, 0xe8, 0xa6, 0x00
.byte 0x00, 0x00, 0xb4, 0x53, 0xb0, 0x03, 0x66, 0xbb
.byte 0x00, 0x00, 0x00, 0x00, 0xfb, 0xcd, 0x15, 0xfa
.byte 0x73, 0x12, 0x66, 0xe8, 0x60, 0x00, 0x00, 0x00
.byte 0xc7, 0x05, 0x88, 0x01, 0x00, 0x00, 0xfd, 0xff
.byte 0xff, 0xff, 0xeb, 0x21, 0x89, 0xc5, 0x66, 0xe8
.byte 0x4c, 0x00, 0x00, 0x00, 0xb8, 0xff, 0xff, 0x00
.byte 0x00, 0x21, 0xc5, 0x21, 0xc1, 0x21, 0xc2, 0x21
.byte 0xc6, 0x21, 0xc7, 0xc1, 0xe5, 0x10, 0x09, 0xe9
.byte 0xc1, 0xe7, 0x10, 0x09, 0xfe, 0xfa, 0x0f, 0x01
.byte 0x1d, 0xa0, 0x01, 0x00, 0x00, 0x8b, 0x25, 0x84
.byte 0x01, 0x00, 0x00, 0x8b, 0x2d, 0x88, 0x01, 0x00
.byte 0x00, 0x8b, 0x3d, 0x8c, 0x01, 0x00, 0x00, 0x66
.byte 0x8c, 0xe0, 0x66, 0x8e, 0xd0, 0x66, 0x8e, 0xc0
.byte 0x66, 0x8e, 0xd8, 0x89, 0xe8, 0x5d, 0xcb, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0xfa, 0x0f, 0x20, 0xc0, 0x66, 0x83, 0xc8, 0x01
.byte 0x0f, 0x22, 0xc0, 0x66, 0xea, 0x23, 0x01, 0x00
.byte 0x00, 0xe8, 0x00, 0xb8, 0xf0, 0x00, 0x00, 0x00
.byte 0x66, 0x8e, 0xd8, 0x66, 0x8e, 0xd0, 0x66, 0x8e
.byte 0xc0, 0x0f, 0x01, 0x1d, 0xa0, 0x01, 0x00, 0x00
.byte 0xc3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0xa1, 0x80, 0x01, 0x00, 0x00, 0xc1, 0xf8, 0x04
.byte 0x66, 0x50, 0x66, 0xb8, 0x62, 0x01, 0x66, 0x50
.byte 0xea, 0x57, 0x01, 0x00, 0x00, 0xf8, 0x00, 0x0f
.byte 0x20, 0xc0, 0x66, 0x83, 0xe0, 0xfe, 0x0f, 0x22
.byte 0xc0, 0xcb, 0x66, 0x8c, 0xc8, 0x66, 0x8e, 0xd8
.byte 0x66, 0x8e, 0xd0, 0x66, 0x8e, 0xc0, 0x67, 0x66
.byte 0x0f, 0x01, 0x1d, 0xa6, 0x01, 0x00, 0x00, 0x66
.byte 0xc3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x03
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
/* Total size = 0x01b0 */