Remove gratuitous waste of 2K of memory for BIOS variables. We never load
the kernel at 0-640k; we haven't had the ability to do that since before 2.0R. Furthermore, I fail to see how putting an instruction at 0 and then doing a .org 0x500 is going to prevent the stuff from getting clobbered in the first place; a.out is just too stupid to know about sparse address spaces.
This commit is contained in:
parent
2fdccd5e8c
commit
857f4d44be
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
* $Id: locore.s,v 1.50 1995/03/10 08:41:26 phk Exp $
|
||||
* $Id: locore.s,v 1.51 1995/03/11 03:49:46 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -154,13 +154,7 @@ _bdb_exists: .long 0
|
||||
*/
|
||||
NON_GPROF_ENTRY(btext)
|
||||
movw $0x1234,0x472 /* warm boot */
|
||||
jmp 1f
|
||||
/*
|
||||
* XXX now that we load at 1MB is this still really used?
|
||||
*/
|
||||
.org 0x500 /* space for BIOS variables */
|
||||
|
||||
1:
|
||||
/* Set up a real frame, some day we will be doing returns */
|
||||
pushl %ebp
|
||||
movl %esp, %ebp
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
* $Id: locore.s,v 1.50 1995/03/10 08:41:26 phk Exp $
|
||||
* $Id: locore.s,v 1.51 1995/03/11 03:49:46 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -154,13 +154,7 @@ _bdb_exists: .long 0
|
||||
*/
|
||||
NON_GPROF_ENTRY(btext)
|
||||
movw $0x1234,0x472 /* warm boot */
|
||||
jmp 1f
|
||||
/*
|
||||
* XXX now that we load at 1MB is this still really used?
|
||||
*/
|
||||
.org 0x500 /* space for BIOS variables */
|
||||
|
||||
1:
|
||||
/* Set up a real frame, some day we will be doing returns */
|
||||
pushl %ebp
|
||||
movl %esp, %ebp
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)locore.s 7.3 (Berkeley) 5/13/91
|
||||
* $Id: locore.s,v 1.50 1995/03/10 08:41:26 phk Exp $
|
||||
* $Id: locore.s,v 1.51 1995/03/11 03:49:46 phk Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -154,13 +154,7 @@ _bdb_exists: .long 0
|
||||
*/
|
||||
NON_GPROF_ENTRY(btext)
|
||||
movw $0x1234,0x472 /* warm boot */
|
||||
jmp 1f
|
||||
/*
|
||||
* XXX now that we load at 1MB is this still really used?
|
||||
*/
|
||||
.org 0x500 /* space for BIOS variables */
|
||||
|
||||
1:
|
||||
/* Set up a real frame, some day we will be doing returns */
|
||||
pushl %ebp
|
||||
movl %esp, %ebp
|
||||
|
Loading…
Reference in New Issue
Block a user