diff options
author | 2017-04-25 03:31:15 -0700 | |
---|---|---|
committer | 2017-05-22 06:48:08 +0000 | |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/u-boot/arch/x86/include/asm/global_data.h | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (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/u-boot/arch/x86/include/asm/global_data.h')
-rw-r--r-- | qemu/roms/u-boot/arch/x86/include/asm/global_data.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/qemu/roms/u-boot/arch/x86/include/asm/global_data.h b/qemu/roms/u-boot/arch/x86/include/asm/global_data.h deleted file mode 100644 index 3e8e2cdb9..000000000 --- a/qemu/roms/u-boot/arch/x86/include/asm/global_data.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * (C) Copyright 2002-2010 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#ifndef __ASM_GBL_DATA_H -#define __ASM_GBL_DATA_H - -#ifndef __ASSEMBLY__ - -/* Architecture-specific global data */ -struct arch_global_data { - struct global_data *gd_addr; /* Location of Global Data */ - uint64_t tsc_base; /* Initial value returned by rdtsc() */ - uint32_t tsc_base_kclocks; /* Initial tsc as a kclocks value */ - uint32_t tsc_prev; /* For show_boot_progress() */ - void *new_fdt; /* Relocated FDT */ -}; - -#endif - -#include <asm-generic/global_data.h> - -#ifndef __ASSEMBLY__ -static inline __attribute__((no_instrument_function)) gd_t *get_fs_gd_ptr(void) -{ - gd_t *gd_ptr; - - asm volatile("fs movl 0, %0\n" : "=r" (gd_ptr)); - - return gd_ptr; -} - -#define gd get_fs_gd_ptr() - -#endif - -/* - * Our private Global Data Flags - */ -#define GD_FLG_COLD_BOOT 0x00100 /* Cold Boot */ -#define GD_FLG_WARM_BOOT 0x00200 /* Warm Boot */ - -#define DECLARE_GLOBAL_DATA_PTR - -#endif /* __ASM_GBL_DATA_H */ |