2 Subject: remove obsolete bios workaround
3 Author: Joachim Wiedorn <ad_debian at joonet.de>
5 Last-Update: 2011-01-18
7 In the changelog of Debian lilo 22.2-3.1 (from 2002-05-10) was noted:
9 * This upstream version uses int15,0xe820 to fetch the memory map.
10 However, sufficiently many systems don't implement this interrupt
11 correctly. We avoid the errant code for now. The next upstream
12 release fixes this problem for real. Note to Russell: this patch
13 must be removed for the next upstream release.
15 Unfortunately nobody had remembered to this note and removed this
16 workaround with the new upstream release. But the upstream release
17 22.3 (from 2002-10-19) of have the following note in its CHANGES:
19 - Compensate for buggy BIOS in int 15h, fn E820h call to avoid
20 overlapping memory areas
22 Now I remove this very old workaround because it is obsolete since
26 diff -urN s10/src/second.S s11/src/second.S
27 --- s10/src/second.S 2010-06-20 00:20:26.000000000 +0200
28 +++ s11/src/second.S 2011-01-18 20:18:55.903147359 +0100
30 xor edx,edx ; flag nothing found
31 xor esi,esi ; flag size==0
33 - ;jmp e8go ; circumvented due to BIOS problems
34 - br no_e801 ; skip to backup plan
36 e8go2: or ebx,ebx ; test for end
38 e8go: push edx ; save best prospect