[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] rombios: remove sdtint.h dependency
# HG changeset patch # User Roger Pau Monne <roger.pau@xxxxxxxxxx> # Date 1335878437 -3600 # Node ID 98fe3b2a572d4ffe704124e75c7aa8d94dbb51bc # Parent 9dda0efd8ce153049579a364974f50294702ffd2 rombios: remove sdtint.h dependency Hardcode uint8_t, uint16_t and uint32_t typedefs, so we no longer need stdint.h Resolves problem reported by Wang Zhihao on 64bit Ubuntu systems. Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxx> Committed-by: Keir Fraser <keir@xxxxxxx> --- diff -r 9dda0efd8ce1 -r 98fe3b2a572d tools/firmware/rombios/32bit/rombios_compat.h --- a/tools/firmware/rombios/32bit/rombios_compat.h Fri Apr 27 17:57:55 2012 +0200 +++ b/tools/firmware/rombios/32bit/rombios_compat.h Tue May 01 14:20:37 2012 +0100 @@ -5,10 +5,13 @@ * Compatibility functions and structures for transitioning between * 16 bit Bochs BIOS and 32 bit BIOS code. */ -#include <stdint.h> #define ADDR_FROM_SEG_OFF(seg, off) (void *)((((uint32_t)(seg)) << 4) + (off)) +typedef unsigned char uint8_t; +typedef unsigned short int uint16_t; +typedef unsigned int uint32_t; + typedef uint8_t Bit8u; typedef uint16_t Bit16u; typedef uint32_t Bit32u; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |