mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Sparc64 cell based types (Igor Kovalenko)
Use int64_t for cell and uint64_t for ucell. Define printf-style format macros to ease writing cell-type-independend log traces. git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@515 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -29,8 +29,12 @@ typedef long long int64_t;
|
||||
#include "autoconf.h"
|
||||
|
||||
/* cell based types */
|
||||
typedef long long cell;
|
||||
typedef unsigned long long ucell;
|
||||
typedef int64_t cell;
|
||||
typedef uint64_t ucell;
|
||||
|
||||
#define FMT_cell "%lld"
|
||||
#define FMT_ucell "%llu"
|
||||
#define FMT_ucellx "%016llx"
|
||||
|
||||
#ifdef NEED_FAKE_INT128_T
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user