lkml.org 
[lkml]   [2001]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: memory size detection problem on 2.3.16+ and 2.4.x
Date
From
> the bios will set the carry flag on the return from the call should
> there be an error. However, the BIOS on my PC doesnt do this- infact
> it seems to simply return from the call without changing any registers.

Your BIOS is faulty. No new suprises.

> meme801:
> + xorl %edx, %edx # Clear regs to work around
> + xorl %ecx, %ecx # flakey BIOSes which don't
> + # use carry bit correctly
> + # This way we get 0MB ram on
> + # call failure

Wouldn't setting the carry flag be clearer ?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.036 / U:14.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site