Deleted Added
full compact
btx.S (76927) btx.S (78650)
1#
2# Copyright (c) 1998 Robert Nordier
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are freely
6# permitted provided that the above copyright notice and this
7# paragraph and the following disclaimer are duplicated in all
8# such forms.
9#
10# This software is provided "AS IS" and without any express or
11# implied warranties, including, without limitation, the implied
12# warranties of merchantability and fitness for a particular
13# purpose.
14#
15
1#
2# Copyright (c) 1998 Robert Nordier
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are freely
6# permitted provided that the above copyright notice and this
7# paragraph and the following disclaimer are duplicated in all
8# such forms.
9#
10# This software is provided "AS IS" and without any express or
11# implied warranties, including, without limitation, the implied
12# warranties of merchantability and fitness for a particular
13# purpose.
14#
15
16# $FreeBSD: head/sys/boot/pc98/btx/btx/btx.S 76927 2001-05-21 11:49:21Z nyan $
16# $FreeBSD: head/sys/boot/pc98/btx/btx/btx.S 78650 2001-06-23 08:04:14Z kato $
17
18#
19# Memory layout.
20#
21 .set MEM_BTX,0x1000 # Start of BTX memory
22 .set MEM_ESP0,0x1800 # Supervisor stack
23 .set MEM_BUF,0x1800 # Scratch buffer
24 .set MEM_ESP1,0x1e00 # Link stack

--- 938 unchanged lines hidden (view full) ---

963 movl %cr0,%eax # Turn
964 andl $~0x80000000,%eax # off
965 movl %eax,%cr0 # paging
966 xorl %eax,%eax # Flush
967 movl %eax,%cr3 # TLB
968')
969 popl %eax # Call
970 call *%eax # program
17
18#
19# Memory layout.
20#
21 .set MEM_BTX,0x1000 # Start of BTX memory
22 .set MEM_ESP0,0x1800 # Supervisor stack
23 .set MEM_BUF,0x1800 # Scratch buffer
24 .set MEM_ESP1,0x1e00 # Link stack

--- 938 unchanged lines hidden (view full) ---

963 movl %cr0,%eax # Turn
964 andl $~0x80000000,%eax # off
965 movl %eax,%cr0 # paging
966 xorl %eax,%eax # Flush
967 movl %eax,%cr3 # TLB
968')
969 popl %eax # Call
970 call *%eax # program
971intx30.1: incb %ss:btx_hdr+0x7 # Flag reboot
971intx30.1: orb $0x1,%ss:btx_hdr+0x7 # Flag reboot
972 jmp exit # Exit
973#
974# Dump structure [EBX] to [EDI], using format string [ESI].
975#
976dump.0: stosb # Save char
977dump: lodsb # Load char
978 testb %al,%al # End of string?
979 jz dump.10 # Yes

--- 234 unchanged lines hidden ---
972 jmp exit # Exit
973#
974# Dump structure [EBX] to [EDI], using format string [ESI].
975#
976dump.0: stosb # Save char
977dump: lodsb # Load char
978 testb %al,%al # End of string?
979 jz dump.10 # Yes

--- 234 unchanged lines hidden ---