Package javaforce.vm
Class Address
java.lang.Object
javaforce.vm.Address
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Controller,Device,Network
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgetBus(boolean pci) getPort()getSlot()getType()voidvoidsetDriveAddress(String controller, String bus, String target, String unit) voidsetPCIAddress(String domain, String bus, String slot, String function) voidsetUSBAddress(String bus, String port)
-
Field Details
-
addr_type
-
domain
-
bus
-
slot
-
function
-
port
-
controller
-
target
-
unit
-
-
Constructor Details
-
Address
public Address() -
Address
PCI Address- Parameters:
domain- = 0x0000bus- = 0x00slot- = 0x01function- = 0x0
-
Address
USB Address- Parameters:
bus- = 1port- = 1
-
-
Method Details
-
setPCIAddress
-
setUSBAddress
-
setDriveAddress
-
setAutoAddress
public void setAutoAddress() -
getType
-
getDomain
-
getBus
-
getSlot
-
getFunction
-
getPort
-
cleanHex
-
cleanDec
-
getAddressXML
-