DragonFly BSD
DragonFly commits List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/boot/i386 bootasm.h bootasmdef.c src/sys/boot/i386/boot2 Makefile boot1.S boot2.c src/sys/boot/i386/btx/lib btxcsu.S

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jul 2004 12:37:19 -0700 (PDT)

dillon      2004/07/27 12:37:19 PDT

DragonFly src repository

  Modified files:
    sys/boot/i386        bootasm.h bootasmdef.c 
    sys/boot/i386/boot2  Makefile boot1.S boot2.c 
    sys/boot/i386/btx/lib btxcsu.S 
  Boot1 tries to clear boot2's BSS.  It makes several assumptions that are
  incorrect (or incorrect now), and doesn't really know how much BSS to clear
  anyway.  Remove the BSS clearing code from boot1 and add BSS clearing code
  to the boot2 (in particular, /usr/src/sys/boot/i386/btx/lib/btxcsu.S).
  This should solve numerous issues including boot2 getting confused about
  the default boot device file path.
  Collapse some boot2 code to make it fit again.
  Move the BOOT2 virtual origin (relative to the BTX client address space)
  into bootasm.h, replace an undocumented hardwired BOOT2 origin calculation
  (that was SIZ_PAG*2) with BOOT2_VORIGIN.   Replace the hardwired ORG2
  constant in boot2's Makefile with code to pull BOOT2_VORIGIN out of the
  header file.
  Revision  Changes    Path
  1.4       +6 -0      src/sys/boot/i386/bootasm.h
  1.2       +3 -1      src/sys/boot/i386/bootasmdef.c
  1.10      +1 -1      src/sys/boot/i386/boot2/Makefile
  1.8       +26 -12    src/sys/boot/i386/boot2/boot1.S
  1.13      +7 -5      src/sys/boot/i386/boot2/boot2.c
  1.6       +10 -2     src/sys/boot/i386/btx/lib/btxcsu.S


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