[SeaBIOS] [PATCH] fix comment typo in __make_bios_writable_intel()

Cao jin caoj.fnst at cn.fujitsu.com
Fri Jan 29 12:51:42 CET 2016


Hi,
Am I wrong about this?

On 01/25/2016 07:26 PM, Cao jin wrote:
> Signed-off-by: Cao jin <caoj.fnst at cn.fujitsu.com>
> ---
>   src/fw/shadow.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/fw/shadow.c b/src/fw/shadow.c
> index bdb5c5b..dcf1137 100644
> --- a/src/fw/shadow.c
> +++ b/src/fw/shadow.c
> @@ -25,7 +25,7 @@
>   static void
>   __make_bios_writable_intel(u16 bdf, u32 pam0)
>   {
> -    // Make ram from 0xc0000-0xf0000 writable
> +    // Make ram from 0xc0000-0xf0000 writable/readable
>       int clear = 0;
>       int i;
>       for (i=0; i<6; i++) {
> @@ -45,7 +45,7 @@ __make_bios_writable_intel(u16 bdf, u32 pam0)
>       if (clear)
>           memset((void*)BUILD_BIOS_TMP_ADDR, 0, 32*1024);
>
> -    // Make ram from 0xf0000-0x100000 writable
> +    // Make ram from 0xf0000-0xfffff writable
>       int reg = pci_config_readb(bdf, pam0);
>       pci_config_writeb(bdf, pam0, 0x30);
>       if (reg & 0x10)
>

-- 
Yours Sincerely,

Cao jin





More information about the SeaBIOS mailing list