From: | "Robin H. Johnson (robbat2)" <robbat2@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/grub/0.97: 016_all_grub-0.97-multiboot-memory-amount.patch |
Date: | Sat, 01 Mar 2008 21:07:20 |
Message-Id: | E1JVYvO-0005Cw-7Y@stork.gentoo.org |
1 | robbat2 08/03/01 21:07:18 |
2 | |
3 | Added: 016_all_grub-0.97-multiboot-memory-amount.patch |
4 | Log: |
5 | Fix for buggy BIOS/compiler combos with Xen per bug #188312. |
6 | |
7 | Revision Changes Path |
8 | 1.1 src/patchsets/grub/0.97/016_all_grub-0.97-multiboot-memory-amount.patch |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/grub/0.97/016_all_grub-0.97-multiboot-memory-amount.patch?rev=1.1&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/grub/0.97/016_all_grub-0.97-multiboot-memory-amount.patch?rev=1.1&content-type=text/plain |
12 | |
13 | Index: 016_all_grub-0.97-multiboot-memory-amount.patch |
14 | =================================================================== |
15 | Gentoo bug #188312 |
16 | |
17 | Buggy BIOS plus compiler makes boxes with 16GB of RAM show up as less than 4GB |
18 | under Xen. |
19 | |
20 | diff -Nuar grub-0.97.orig/stage2/common.c grub-0.97/stage2/common.c |
21 | --- grub-0.97.orig/stage2/common.c 2004-03-27 08:25:44.000000000 -0800 |
22 | +++ grub-0.97/stage2/common.c 2008-02-29 21:41:30.962021889 -0800 |
23 | @@ -142,7 +142,8 @@ |
24 | init_bios_info (void) |
25 | { |
26 | #ifndef STAGE1_5 |
27 | - unsigned long cont, memtmp, addr; |
28 | + unsigned long memtmp, addr; |
29 | + volatile unsigned long cont; |
30 | int drive; |
31 | #endif |
32 | |
33 | |
34 | |
35 | |
36 | -- |
37 | gentoo-commits@l.g.o mailing list |