Module Name: src Committed By: christos Date: Mon Apr 7 21:20:17 UTC 2014
Modified Files: src/doc: HACKS Log Message: Add x86 bootblock hack. To generate a diff of this commit: cvs rdiff -u -r1.147 -r1.148 src/doc/HACKS Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/HACKS diff -u src/doc/HACKS:1.147 src/doc/HACKS:1.148 --- src/doc/HACKS:1.147 Sat Apr 5 13:06:44 2014 +++ src/doc/HACKS Mon Apr 7 17:20:17 2014 @@ -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 @@ port i386 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