Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/bootxx Correct comments referencing PRIM...



details:   https://anonhg.NetBSD.org/src/rev/366ab150f90b
branches:  trunk
changeset: 760264:366ab150f90b
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Jan 02 02:01:58 2011 +0000

description:
Correct comments referencing PRIMARY_LOAD_ADDRESS to match current reality.

diffstat:

 sys/arch/i386/stand/bootxx/pbr.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r a04bd9324e67 -r 366ab150f90b sys/arch/i386/stand/bootxx/pbr.S
--- a/sys/arch/i386/stand/bootxx/pbr.S  Sun Jan 02 01:58:31 2011 +0000
+++ b/sys/arch/i386/stand/bootxx/pbr.S  Sun Jan 02 02:01:58 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pbr.S,v 1.17 2009/11/30 21:37:16 dsl Exp $     */
+/*     $NetBSD: pbr.S,v 1.18 2011/01/02 02:01:58 jakllsch Exp $        */
 
 /*-
  * Copyright (c) 2003,2004 The NetBSD Foundation, Inc.
@@ -40,11 +40,11 @@
  * The job of this code is to read in the phase 1 bootstrap.
  *
  * Makefile supplies:
- * PRIMARY_LOAD_ADDRESS:       Address we load code to (0x600).
+ * PRIMARY_LOAD_ADDRESS:       Address we load code to (0x1000).
  * BOOTXX_SECTORS:             Number of sectors we load (15).
  * X86_BOOT_MAGIC_1:           A random magic number.
  *
- * Although this code is executing at 0x7c00, it is linked to address 0x600.
+ * Although this code is executing at 0x7c00, it is linked to address 0x1000.
  * All data references MUST be fixed up using R().
  */
 
@@ -91,7 +91,7 @@
  * (for a floppy) or the mbr boot code.  Since the boot program will
  * be loaded to address 1000:0, we don't need to relocate ourselves
  * and can load the subsequent blocks (that load boot) to an address
- * of our choosing. 0:600 is a not unreasonable choice.
+ * of our choosing. 0:1000 is a not unreasonable choice.
  *
  * On entry the BIOS drive number is in %dl and %esi may contain the
  * sector we were loaded from (if we were loaded by NetBSD mbr code).



Home | Main Index | Thread Index | Old Index