[coreboot] [commit] r5135 - in trunk: src/arch/i386/boot src/arch/i386/include/arch src/devices src/include/boot src/lib util/x86emu util/x86emu/yabel util/x86emu/yabel/compat

Uwe Hermann uwe at hermann-uwe.de
Mon Feb 22 17:42:27 CET 2010


On Mon, Feb 22, 2010 at 05:33:14AM +0100, repository service wrote:
> Modified: trunk/src/arch/i386/include/arch/byteorder.h
> ==============================================================================
> --- trunk/src/arch/i386/include/arch/byteorder.h	Sun Feb 21 07:45:43 2010	(r5134)
> +++ trunk/src/arch/i386/include/arch/byteorder.h	Mon Feb 22 05:33:13 2010	(r5135)
> @@ -14,4 +14,7 @@
>  #define cpu_to_be16(x) swab16((x))
>  #define be16_to_cpu(x) swab16((x))
>  
> +#define ntohl(x) be32_to_cpu(x)
> +#define htonl(x) cpu_to_be32(x)


> Modified: trunk/src/devices/Kconfig
> ==============================================================================
> --- trunk/src/devices/Kconfig	Sun Feb 21 07:45:43 2010	(r5134)
> +++ trunk/src/devices/Kconfig	Mon Feb 22 05:33:13 2010	(r5135)
> @@ -49,7 +49,7 @@
>  	depends on PCI_ROM_RUN || VGA_ROM_RUN
>  
>  config PCI_OPTION_ROM_RUN_REALMODE
> -	prompt "Real mode"
> +	prompt "Native mode"
[...]
> +config PCI_OPTION_ROM_RUN_YABEL
> +	prompt "Secure Mode"

Also rename the kconfig option names later?


> Modified: trunk/util/x86emu/yabel/vbe.c
> ==============================================================================
> --- trunk/util/x86emu/yabel/vbe.c	Sun Feb 21 07:45:43 2010	(r5134)
> +++ trunk/util/x86emu/yabel/vbe.c	Mon Feb 22 05:33:13 2010	(r5135)
> @@ -13,6 +13,12 @@
>  
>  #include <string.h>
>  #include <types.h>
> +#if CONFIG_BOOTSPLASH
> +#include <boot/coreboot_tables.h>
> +#endif
> +
> +#include <arch/byteorder.h>

> +#define ntohl(x) be32_to_cpu(x)

Should not be necessary, as this commit adds ntohl to byteorder.h (?)


Uwe.  
-- 
http://www.hermann-uwe.de  | http://www.randomprojects.org
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org




More information about the coreboot mailing list