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/SLOF/slof/fs/pci-bridge.fs | |
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/SLOF/slof/fs/pci-bridge.fs')
-rw-r--r-- | qemu/roms/SLOF/slof/fs/pci-bridge.fs | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/qemu/roms/SLOF/slof/fs/pci-bridge.fs b/qemu/roms/SLOF/slof/fs/pci-bridge.fs deleted file mode 100644 index e6af7b65c..000000000 --- a/qemu/roms/SLOF/slof/fs/pci-bridge.fs +++ /dev/null @@ -1,65 +0,0 @@ -\ ***************************************************************************** -\ * Copyright (c) 2004, 2008 IBM Corporation -\ * All rights reserved. -\ * This program and the accompanying materials -\ * are made available under the terms of the BSD License -\ * which accompanies this distribution, and is available at -\ * http://www.opensource.org/licenses/bsd-license.php -\ * -\ * Contributors: -\ * IBM Corporation - initial implementation -\ ****************************************************************************/ - -\ get the PUID from the node above -get-node CONSTANT my-phandle -s" my-puid" my-phandle parent $call-static CONSTANT my-puid - -\ Save the bus number provided by this bridge -pci-bus-number 1+ CONSTANT my-bus - -s" pci-config-bridge.fs" included -s" dma-function.fs" included - -\ generate the rom-fs filename from the vendor and device ID "pci-bridge_VENDORID_DEVICEID.fs" -: filename ( -- str len ) - s" pci-bridge_" - my-space pci-vendor@ 4 int2str $cat - s" _" $cat - my-space pci-device@ 4 int2str $cat - s" .fs" $cat -; - -\ Set up the Bridge with either default or special settings -: setup ( -- ) - \ is there special handling for this device, given vendor and device id? - filename romfs-lookup ?dup - IF - \ give it a special treatment - evaluate - ELSE - \ no special handling for this device, attempt autoconfiguration - my-space pci-class-name type 2a emit cr - my-space pci-bridge-generic-setup - my-space pci-reset-2nd - THEN -; - -\ Disable Bus Master, Memory Space and I/O Space for -\ this device and so for the scanning for the devices behind -pci-device-disable - -\ Enalbe #PERR and #SERR reporting -pci-error-enable - -\ Print out device information -my-space 42 pci-out \ config-addr ascii('B') - -\ and set up the bridge -setup - -\ And enable Bus Master IO and MEM access again. -\ we need that on bridges so that the devices behind -\ can set their state on their own. -pci-master-enable -pci-mem-enable -pci-io-enable |