summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-04-16 10:12:16 +0000
committerdg <dg@FreeBSD.org>1995-04-16 10:12:16 +0000
commite45d815bc52c323bd6e070bee10439850c0e8af5 (patch)
tree10d581e24978fbe925217548520aea44bb48dc5d /sys
parentd1c8e78413ee94b593fb78cf42ee76babc462765 (diff)
downloadFreeBSD-src-e45d815bc52c323bd6e070bee10439850c0e8af5.zip
FreeBSD-src-e45d815bc52c323bd6e070bee10439850c0e8af5.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/locore.S8
-rw-r--r--sys/amd64/amd64/locore.s8
-rw-r--r--sys/i386/i386/locore.s8
3 files changed, 3 insertions, 21 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S
index 367ab84..f088f4c 100644
--- a/sys/amd64/amd64/locore.S
+++ b/sys/amd64/amd64/locore.S
@@ -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
diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s
index 367ab84..f088f4c 100644
--- a/sys/amd64/amd64/locore.s
+++ b/sys/amd64/amd64/locore.s
@@ -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
diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s
index 367ab84..f088f4c 100644
--- a/sys/i386/i386/locore.s
+++ b/sys/i386/i386/locore.s
@@ -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
OpenPOWER on IntegriCloud