[coreboot] [PATCH 2/5] libpayload: Some more standard types and defines

Stefan Reinauer stefan.reinauer at coreboot.org
Fri Feb 25 22:12:06 CET 2011


* Peter Stuge <peter at stuge.se> [110225 21:45]:
> Patrick Georgi wrote:
> > +++ b/payloads/libpayload/include/stdint.h
> > @@ -27,4 +27,9 @@
> >   * SUCH DAMAGE.
> >   */
> >  
> > +#ifndef __STDINT_H
> > +#define __STDINT_H
> >  #include <arch/types.h>
> > +
> > +typedef unsigned long uintptr_t;
> > +#endif
> 
> What about 64 bit? Or libpayload simply doesn't support it? In that
> case
> 
> Acked-by: Peter Stuge <peter at stuge.se>
 
unsigned long is 64bit on 64bit gccs






More information about the coreboot mailing list