Re: Linux 2.0.31-pre2 + Buffer /Swap patch Jul21

tenthumbs@cybernex.net
Thu, 24 Jul 1997 18:33:41 GMT


On Wed, 23 Jul 1997 10:16:50 -0700, you wrote:

>
> Please try these patches against setup.c and setup.S and let me know
> if they solve your problem. Are you using loadlin to boot? Also,
> send me the memory detection boot message so I can see what BIOS
> calls are being reported.
>
> Thanks,
>
> Larry
> [omitted]

I think this whole thing should be a compile-time option. It assumes that BIOSes
actually do what they are supposed to. I know from experience that they don't.
They're usually buggy to one extent or another and there's no guarantee that the
writer understood the specs.

Also, please don't perpetuate the myth that as86 can't do 16-bit relative jumps.
The code
lea cx, end_memdetect ! gas can't do 16-bit offset jumps. very annoying.
jmp cx
can be replaced by
br end_memdetect