diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/openbios/include/arch/unix | |
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/openbios/include/arch/unix')
-rw-r--r-- | qemu/roms/openbios/include/arch/unix/plugin_pci.h | 25 | ||||
-rw-r--r-- | qemu/roms/openbios/include/arch/unix/plugins.h | 31 |
2 files changed, 0 insertions, 56 deletions
diff --git a/qemu/roms/openbios/include/arch/unix/plugin_pci.h b/qemu/roms/openbios/include/arch/unix/plugin_pci.h deleted file mode 100644 index 513db6337..000000000 --- a/qemu/roms/openbios/include/arch/unix/plugin_pci.h +++ /dev/null @@ -1,25 +0,0 @@ -/* tag: openbios pci plugin headers - * - * Copyright (C) 2003 Stefan Reinauer - * - * See the file "COPYING" for further information about - * the copyright and warranty status of this work. - */ - -#ifndef __PLUGINS_PCI_H -#define __PLUGINS_PCI_H - -typedef struct pci_dev pci_dev_t; - -struct pci_dev { - unsigned bus; - unsigned dev; - unsigned fn; - - u8 *config; - pci_dev_t *next; -}; - -int pci_register_device(unsigned bus, unsigned dev, unsigned fn, u8 *config); - -#endif diff --git a/qemu/roms/openbios/include/arch/unix/plugins.h b/qemu/roms/openbios/include/arch/unix/plugins.h deleted file mode 100644 index 305b3da9b..000000000 --- a/qemu/roms/openbios/include/arch/unix/plugins.h +++ /dev/null @@ -1,31 +0,0 @@ - -#ifndef __PLUGINS_H -#define __PLUGINS_H - -#include "asm/types.h" - -struct io_ops { - u8 (*inb)(u32 reg); - u16 (*inw)(u32 reg); - u32 (*inl)(u32 reg); - void (*outb)(u32 reg, u8 val); - void (*outw)(u32 reg, u16 val); - void (*outl)(u32 reg, u32 val); -}; -typedef struct io_ops io_ops_t; - -extern unsigned char *plugindir; - -#define PLUGIN_DEPENDENCIES(x...) const char *plugin_deps[]={ x, NULL }; -#define PLUGIN_AUTHOR(author) const char *plugin_author=author; -#define PLUGIN_LICENSE(license) const char *plugin_license=license; -#define PLUGIN_DESCRIPTION(desc) const char *plugin_description=desc; - -int register_iorange(const char *name, io_ops_t *ops, - unsigned int rstart, unsigned int rend); -io_ops_t *find_iorange(u32 reg); - -int load_plugin(const char *plugin_name); -int is_loaded(const char *plugin_name); - -#endif |