bios

package
v0.1.5-0...-5d44f57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Characteristics

type Characteristics uint64

Characteristics bios字符集

const (
	Reserved0 Characteristics = 1 << iota
	Reserved1
	Unknown
	NotSupported
	ISASupported
	MCASupported
	EISASupported
	PCISupported
	PCMCIASupported
	PlugPlaySupported
	APMSupported
	Upgradeable
	ShadowingIsAllowed
	VLVESASupported
	ESCDSupported
	BootFromCDSupported
	SelectableBootSupported
	BIOSROMIsSockectd
	BootFromPCMCIASupported
	EDDSupported
	JPFloppyNECSupported
	JPFloppyToshibaSupported
	Floppy525_360KBSupported
	Floppy525_1_2MBSupported
	Floppy35_720KBSupported
	Floppy35_2_88MBSupported
	PrintScreenSupported
	Keyboard8042Supported
	SerialSupported
	PrinterSupported
	CGAMonoSupported
	NECPC98
)

BIOS Characteristics

func (Characteristics) String

func (b Characteristics) String() string

type Ext1

type Ext1 byte

Ext1 ext1

const (
	Ext1ACPISupported Ext1 = 1 << iota
	Ext1USBLegacySupported
	Ext1AGPSupported
	Ext1I2OBootSupported
	Ext1LS120SupperDiskBootSupported
	Ext1ATAPIZIPDriveBootSupported
	Ext11394BootSupported
	Ext1SmartBatterySupported
)

BIOS Characteristics Extension Bytes(Ext1) Byte 1

func (Ext1) String

func (b Ext1) String() string

type Ext2

type Ext2 byte

Ext2 ext2

const (
	Ext2BIOSBootSpecSupported Ext2 = 1 << iota
	Ext2FuncKeyInitiatedNetworkBootSupported
	Ext2EnableTargetedContentDistribution
	Ext2UEFISpecSupported
	Ext2VirtualMachine
)

BIOS Characteristics Extension Bytes(Ext2) Byte 2

func (Ext2) String

func (b Ext2) String() string

type Information

type Information struct {
	smbios.Header
	Vendor                                 string          `json:"vendor,omitempty"`
	BIOSVersion                            string          `json:"bios_version,omitempty"`
	StartingAddressSegment                 uint16          `json:"starting_address_segment,omitempty"`
	ReleaseDate                            string          `json:"release_date,omitempty"`
	RomSize                                RomSize         `json:"rom_size,omitempty"`
	RuntimeSize                            RuntimeSize     `json:"runtime_size,omitempty"`
	Characteristics                        Characteristics `json:"characteristics,omitempty"`
	CharacteristicsExt1                    Ext1            `json:"characteristics_ext_1,omitempty"`
	CharacteristicsExt2                    Ext2            `json:"characteristics_ext_2,omitempty"`
	SystemBIOSMajorRelease                 byte            `json:"system_bios_major_release,omitempty"`
	SystemBIOSMinorRelease                 byte            `json:"system_bios_minor_release,omitempty"`
	EmbeddedControllerFirmwareMajorRelease byte            `json:"firmware_major_release,omitempty"`
	EmbeddedControllerFirmawreMinorRelease byte            `json:"firmawre_minor_release,omitempty"`
}

Information bios信息

func (Information) String

func (b Information) String() string

type RomSize

type RomSize byte

RomSize todo

func (RomSize) String

func (b RomSize) String() string

type RuntimeSize

type RuntimeSize uint

RuntimeSize todo

func (RuntimeSize) String

func (b RuntimeSize) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL