|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [rfc 09/18] ioemu: piix4acpi.c: make various variables stati
All of these variables appear to only be used inside piix4acpi.c
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Index: ioemu-remote/hw/piix4acpi.c
===================================================================
--- ioemu-remote/hw/piix4acpi.c 2009-01-02 16:01:54.000000000 +1100
+++ ioemu-remote/hw/piix4acpi.c 2009-01-02 16:28:06.000000000 +1100
@@ -57,7 +57,7 @@
#define ACPI_PHP_SLOT_NUM PHP_SLOT_LEN
typedef struct AcpiDeviceState AcpiDeviceState;
-AcpiDeviceState *acpi_device_table;
+static AcpiDeviceState *acpi_device_table;
typedef struct PCIAcpiState {
PCIDevice dev;
@@ -74,7 +74,7 @@ typedef struct GPEState {
} GPEState;
-GPEState gpe_state;
+static GPEState gpe_state;
typedef struct PHPSlots {
struct {
@@ -83,7 +83,7 @@ typedef struct PHPSlots {
uint8_t plug_evt; /* slot|event slot:0-no event;1-1st.
event:0-remove;1-add */
} PHPSlots;
-PHPSlots php_slots;
+static PHPSlots php_slots;
int s3_shutdown_flag;
static qemu_irq sci_irq;
--
--
Simon Horman
VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
H: www.vergenet.net/~horms/ W: www.valinux.co.jp/en
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough, Simon Horman
- [Xen-devel] [rfc 01/18] Make register_real_device() and unregister_real_device() static, Simon Horman
- [Xen-devel] [rfc 02/18] Make dpci_infos static, Simon Horman
- [Xen-devel] [rfc 03/18] ioemu: vslots needs to be freed on error in power_off_php_slot(), Simon Horman
- [Xen-devel] [rfc 04/18] ioemu: Remove lsi_scsi_init()s devfn parameter as it is always passed as -1, Simon Horman
- [Xen-devel] [rfc 05/18] ioemu: Remove lsi_scsi_init()s devfn parameter as it is always passed as -1, Simon Horman
- [Xen-devel] [rfc 06/18] ioemu: Remove usb_ohci_init*()s devfn parameter as they are always passed as -1, Simon Horman
- [Xen-devel] [rfc 07/18] iommu: Define PCI_DEVFN_AUTO and use it, Simon Horman
- [Xen-devel] [rfc 08/18] iommu: Use PCI_DEVFN to create devfn numbers, Simon Horman
- [Xen-devel] [rfc 09/18] ioemu: piix4acpi.c: make various variables static,
Simon Horman <=
- [Xen-devel] [rfc 10/18] ioemu: piix4acpi.c: Simplfy PHPSlots structure, Simon Horman
- [Xen-devel] [rfc 11/18] ioemu: piix4acpi.c: Consistently dont cast opaque to PHPSlots, Simon Horman
- [Xen-devel] [rfc 12/18] ioemu: piix4acpi.c: remove unnecessary assignment of pci_slots to local variables, Simon Horman
- [Xen-devel] [rfc 13/18] ioemu: piix4acpi.c: remove ACPI_PHP_SLOT_NUM, Simon Horman
- [Xen-devel] [rfc 14/18] ioemu: use devfn instead of slots as the unit for passthrough, Simon Horman
- [Xen-devel] [rfc 15/18] ioemu: use struct php_dev to pass around PCI pass-through assignment parameters, Simon Horman
- [Xen-devel] [rfc 16/18] ioemu: non-destructive parsing of PCI assignement strings, Simon Horman
- [Xen-devel] [rfc 17/18] ioemu: sort pass-through PCI devices before inserting, Simon Horman
- [Xen-devel] [rfc 18/18] ioemu: Allow virtual function to be speficied for PCI pass-through, Simon Horman
- [Xen-devel] Re: [rfc 00/18] ioemu: use devfn instead of slots as the unit for passthrough, Ian Jackson
|
|
|
|
|