Package: bochsbios
Version: 2.3.6-2
Severity: normal
Tags: patch
Since bochsbios is built with gcc-4.2, the delay loop that is used to
wait for processors to be brought up is being optimized out. This result
in -smp not working in QEMU.
Please find a small patch below to fix that.
--- bochs-2.3.6.orig/bios/rombios32.c
+++ bochs-2.3.6/bios/rombios32.c
@@ -353,7 +353,7 @@
void delay_ms(int n)
{
- int i, j;
+ volatile int i, j;
for(i = 0; i < n; i++) {
#ifdef BX_QEMU
/* approximative ! */
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]