Source-Changes-HG archive

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

[src/trunk]: src/doc Add x86 bootblock hack.



details:   https://anonhg.NetBSD.org/src/rev/525d26e93c41
branches:  trunk
changeset: 795331:525d26e93c41
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Apr 07 21:20:17 2014 +0000

description:
Add x86 bootblock hack.

diffstat:

 doc/HACKS |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 7ee8672a062a -r 525d26e93c41 doc/HACKS
--- a/doc/HACKS Mon Apr 07 21:09:55 2014 +0000
+++ b/doc/HACKS Mon Apr 07 21:20:17 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.147 2014/04/05 17:06:44 tron Exp $
+# $NetBSD: HACKS,v 1.148 2014/04/07 21:20:17 christos Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -815,6 +815,18 @@
                the i387 FPU without rounding the intermediate results
        kcah
 
+port   x86
+       hack    turn off optimization for biosdisk_ll.c because otherwise
+               we are pass the wrong arguments to biosdisk_read(). 
+               $ cd /usr/src/sys/arch/i386/floppies/bootflopp-com
+               $ qemu-system-i386 -nographic -fda boot-com1.fs -boot a
+       who     christos
+       file    src/sys/arch/i386/stand/lib/Makefile : 1.38
+       descr
+               Turning on DISK_DEBUG shows the problem. We should find
+               out which option is causing this.
+       hcah
+
 port   powerpc
 
        hack    avoid using __builtin_return_address(0) because it fails in



Home | Main Index | Thread Index | Old Index