[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] zero-fill entry before asking BIOS for memory map
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
Re: [PATCH] zero-fill entry before asking BIOS for memory map |
Date: |
Fri, 28 Aug 2009 21:21:02 +0200 |
>> + /* clear the request area, buggy BIOSes may not clear it */
>> + xor %edi, %edi
>> + movl %edi, 4(%eax)
>> + movl %edi, 8(%eax)
>> + movl %edi, 12(%eax)
>> + movl %edi, 16(%eax)
>> + movl %edi, 20(%eax)
>
> This effectively hardcodes sizeof(entry). Can we avoid it?
Can one or another version be merge for release?
--
Regards
Vladimir 'phcoder' Serbinenko
Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] zero-fill entry before asking BIOS for memory map,
Vladimir 'phcoder' Serbinenko <=