summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/include/arch/ppc/types.h
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-04-25 03:31:15 -0700
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-05-22 06:48:08 +0000
commitbb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch)
treeca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/openbios/include/arch/ppc/types.h
parenta14b48d18a9ed03ec191cf16b162206998a895ce (diff)
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/openbios/include/arch/ppc/types.h')
-rw-r--r--qemu/roms/openbios/include/arch/ppc/types.h96
1 files changed, 0 insertions, 96 deletions
diff --git a/qemu/roms/openbios/include/arch/ppc/types.h b/qemu/roms/openbios/include/arch/ppc/types.h
deleted file mode 100644
index b2246d060..000000000
--- a/qemu/roms/openbios/include/arch/ppc/types.h
+++ /dev/null
@@ -1,96 +0,0 @@
-/* tag: data types for forth engine
- *
- * Copyright (C) 2003-2005 Patrick Mauritz, Stefan Reinauer
- *
- * See the file "COPYING" for further information about
- * the copyright and warranty status of this work.
- */
-
-#ifndef __TYPES_H
-#define __TYPES_H
-
-#include "mconfig.h"
-
-#ifdef BOOTSTRAP
-#include <inttypes.h>
-#else
-typedef unsigned char uint8_t;
-typedef unsigned short uint16_t;
-typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
-typedef unsigned long uintptr_t;
-
-typedef signed char int8_t;
-typedef short int16_t;
-typedef int int32_t;
-typedef long long int64_t;
-typedef long intptr_t;
-
-#define PRId32 "d"
-#define PRIu32 "u"
-#define PRIx32 "x"
-#define PRIX32 "X"
-#define PRId64 "lld"
-#define PRIu64 "llu"
-#define PRIx64 "llx"
-#define PRIX64 "llX"
-#endif
-
-/* endianess */
-#include "autoconf.h"
-
-/* physical address */
-#if defined(__powerpc64__)
-typedef uint64_t phys_addr_t;
-#define FMT_plx "%016" PRIx64
-#else
-typedef uint32_t phys_addr_t;
-#define FMT_plx "%08" PRIx32
-#endif
-
-/* cell based types */
-
-typedef int32_t cell;
-typedef uint32_t ucell;
-typedef int64_t dcell;
-typedef uint64_t ducell;
-
-#define FMT_cell "%" PRId32
-#define FMT_ucell "%" PRIu32
-#define FMT_ucellx "%08" PRIx32
-#define FMT_ucellX "%08" PRIX32
-
-typedef int32_t prom_arg_t;
-typedef uint32_t prom_uarg_t;
-
-#define PRIdPROMARG PRId32
-#define PRIuPROMARG PRIu32
-#define PRIxPROMARG PRIx32
-#define FMT_prom_arg "%" PRIdPROMARG
-#define FMT_prom_uarg "%" PRIuPROMARG
-#define FMT_prom_uargx "%08" PRIxPROMARG
-
-#define FMT_elf "%#x"
-#define FMT_sizet "%lx"
-#define FMT_aout_ehdr "%lx"
-
-#define bitspercell (sizeof(cell)<<3)
-#define bitsperdcell (sizeof(dcell)<<3)
-
-#define BITS 32
-
-#define PAGE_SHIFT 12
-
-/* size named types */
-
-typedef unsigned char u8;
-typedef unsigned short u16;
-typedef unsigned int u32;
-typedef unsigned long long u64;
-
-typedef signed char s8;
-typedef short s16;
-typedef int s32;
-typedef long long s64;
-
-#endif