Commit 6f5a5b7b authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: refactor GUEST_DEVICES

Remove the typedef from GUEST_DEVICES and switch to struct
guest_devices. Fix CamelCase names and update all references to renamed
members.

VideoChannel => video_channel
KeyboardChannel => keyboard_channel
NetworkChannel => network_channel
StorageChannel => storage_channel
ConsoleChannel => console_channel
PartitionIndex => partition_index
Pad => pad
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a348e0dc
......@@ -350,15 +350,15 @@ struct device_map {
u64 reserved2; /* Align structure on 32-byte boundary */
};
typedef struct _GUEST_DEVICES {
struct device_map VideoChannel;
struct device_map KeyboardChannel;
struct device_map NetworkChannel;
struct device_map StorageChannel;
struct device_map ConsoleChannel;
u32 PartitionIndex;
u32 Pad;
} GUEST_DEVICES;
struct guest_devices {
struct device_map video_channel;
struct device_map keyboard_channel;
struct device_map network_channel;
struct device_map storage_channel;
struct device_map console_channel;
u32 partition_index;
u32 pad;
};
typedef struct _ULTRA_CONTROLVM_CHANNEL_PROTOCOL {
struct channel_header Header;
......@@ -394,7 +394,7 @@ typedef struct _ULTRA_CONTROLVM_CHANNEL_PROTOCOL {
GUEST_PHYSICAL_ADDRESS gpPhysicalSmbiosTable; /* guest phys addr of
* SMBIOS table */
/* ULTRA_MAX_GUESTS_PER_SERVICE */
GUEST_DEVICES gpObsoleteGuestDevices[16];
struct guest_devices gpObsoleteGuestDevices[16];
/* guest physical address of EFI firmware image base */
GUEST_PHYSICAL_ADDRESS VirtualGuestFirmwareImageBase;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment