psptypes

package
v0.0.0-...-f44e450 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type BIOSDirectoryEntry

type BIOSDirectoryEntry struct {
	Entry    BIOSDirectoryTableEntryType `thrift:"Entry,1" db:"Entry" json:"Entry"`
	Instance int16                       `thrift:"Instance,2" db:"Instance" json:"Instance"`
}

Attributes:

  • Entry
  • Instance
var DirectoryEntry_BIOSEntry_DEFAULT *BIOSDirectoryEntry

func NewBIOSDirectoryEntry

func NewBIOSDirectoryEntry() *BIOSDirectoryEntry

func (*BIOSDirectoryEntry) Equals

func (p *BIOSDirectoryEntry) Equals(other *BIOSDirectoryEntry) bool

func (*BIOSDirectoryEntry) GetEntry

func (*BIOSDirectoryEntry) GetInstance

func (p *BIOSDirectoryEntry) GetInstance() int16

func (*BIOSDirectoryEntry) Read

func (*BIOSDirectoryEntry) ReadField1

func (p *BIOSDirectoryEntry) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSDirectoryEntry) ReadField2

func (p *BIOSDirectoryEntry) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*BIOSDirectoryEntry) String

func (p *BIOSDirectoryEntry) String() string

func (*BIOSDirectoryEntry) Write

func (p *BIOSDirectoryEntry) Write(ctx context.Context, oprot thrift.TProtocol) error

type BIOSDirectoryTableEntryType

type BIOSDirectoryTableEntryType int64
const (
	BIOSDirectoryTableEntryType_BIOSRTMSignatureEntry         BIOSDirectoryTableEntryType = 7
	BIOSDirectoryTableEntryType_APCBDataEntry                 BIOSDirectoryTableEntryType = 96
	BIOSDirectoryTableEntryType_APOBBinaryEntry               BIOSDirectoryTableEntryType = 97
	BIOSDirectoryTableEntryType_BIOSRTMVolumeEntry            BIOSDirectoryTableEntryType = 98
	BIOSDirectoryTableEntryType_PMUFirmwareInstructionsEntry  BIOSDirectoryTableEntryType = 100
	BIOSDirectoryTableEntryType_PMUFirmwareDataEntry          BIOSDirectoryTableEntryType = 101
	BIOSDirectoryTableEntryType_MicrocodePatchEntry           BIOSDirectoryTableEntryType = 102
	BIOSDirectoryTableEntryType_APCBDataBackupEntry           BIOSDirectoryTableEntryType = 104
	BIOSDirectoryTableEntryType_VideoInterpreterEntry         BIOSDirectoryTableEntryType = 105
	BIOSDirectoryTableEntryType_BIOSDirectoryTableLevel2Entry BIOSDirectoryTableEntryType = 106
)

func BIOSDirectoryTableEntryTypeFromString

func BIOSDirectoryTableEntryTypeFromString(s string) (BIOSDirectoryTableEntryType, error)

func (BIOSDirectoryTableEntryType) MarshalText

func (p BIOSDirectoryTableEntryType) MarshalText() ([]byte, error)

func (*BIOSDirectoryTableEntryType) Scan

func (p *BIOSDirectoryTableEntryType) Scan(value interface{}) error

func (BIOSDirectoryTableEntryType) String

func (*BIOSDirectoryTableEntryType) UnmarshalText

func (p *BIOSDirectoryTableEntryType) UnmarshalText(text []byte) error

func (*BIOSDirectoryTableEntryType) Value

type DirectoryEntry

type DirectoryEntry struct {
	PSPEntry  *PSPDirectoryTableEntryType `thrift:"PSPEntry,1" db:"PSPEntry" json:"PSPEntry,omitempty"`
	BIOSEntry *BIOSDirectoryEntry         `thrift:"BIOSEntry,2" db:"BIOSEntry" json:"BIOSEntry,omitempty"`
}

Attributes:

  • PSPEntry
  • BIOSEntry

func NewDirectoryEntry

func NewDirectoryEntry() *DirectoryEntry

func (*DirectoryEntry) CountSetFieldsDirectoryEntry

func (p *DirectoryEntry) CountSetFieldsDirectoryEntry() int

func (*DirectoryEntry) Equals

func (p *DirectoryEntry) Equals(other *DirectoryEntry) bool

func (*DirectoryEntry) GetBIOSEntry

func (p *DirectoryEntry) GetBIOSEntry() *BIOSDirectoryEntry

func (*DirectoryEntry) GetPSPEntry

func (p *DirectoryEntry) GetPSPEntry() PSPDirectoryTableEntryType

func (*DirectoryEntry) IsSetBIOSEntry

func (p *DirectoryEntry) IsSetBIOSEntry() bool

func (*DirectoryEntry) IsSetPSPEntry

func (p *DirectoryEntry) IsSetPSPEntry() bool

func (*DirectoryEntry) Read

func (p *DirectoryEntry) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*DirectoryEntry) ReadField1

func (p *DirectoryEntry) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*DirectoryEntry) ReadField2

func (p *DirectoryEntry) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*DirectoryEntry) String

func (p *DirectoryEntry) String() string

func (*DirectoryEntry) Write

func (p *DirectoryEntry) Write(ctx context.Context, oprot thrift.TProtocol) error

type DirectoryType

type DirectoryType int64
const (
	DirectoryType_PSPTableLevel1  DirectoryType = 0
	DirectoryType_PSPTableLevel2  DirectoryType = 1
	DirectoryType_BIOSTableLevel1 DirectoryType = 2
	DirectoryType_BIOSTableLevel2 DirectoryType = 3
)

func DirectoryTypeFromString

func DirectoryTypeFromString(s string) (DirectoryType, error)

func DirectoryTypePtr

func DirectoryTypePtr(v DirectoryType) *DirectoryType

func (DirectoryType) MarshalText

func (p DirectoryType) MarshalText() ([]byte, error)

func (*DirectoryType) Scan

func (p *DirectoryType) Scan(value interface{}) error

func (DirectoryType) String

func (p DirectoryType) String() string

func (*DirectoryType) UnmarshalText

func (p *DirectoryType) UnmarshalText(text []byte) error

func (*DirectoryType) Value

func (p *DirectoryType) Value() (driver.Value, error)

type PSPDirectoryTableEntryType

type PSPDirectoryTableEntryType int64
const (
	PSPDirectoryTableEntryType_AMDPublicKeyEntry            PSPDirectoryTableEntryType = 0
	PSPDirectoryTableEntryType_PSPBootloaderFirmwareEntry   PSPDirectoryTableEntryType = 1
	PSPDirectoryTableEntryType_PSPRecoveryBootlader         PSPDirectoryTableEntryType = 3
	PSPDirectoryTableEntryType_SMUOffChipFirmwareEntry      PSPDirectoryTableEntryType = 8
	PSPDirectoryTableEntryType_ABLPublicKey                 PSPDirectoryTableEntryType = 10
	PSPDirectoryTableEntryType_SMUOffChipFirmware2Entry     PSPDirectoryTableEntryType = 18
	PSPDirectoryTableEntryType_UnlockDebugImageEntry        PSPDirectoryTableEntryType = 19
	PSPDirectoryTableEntryType_SecurityPolicyBinaryEntry    PSPDirectoryTableEntryType = 36
	PSPDirectoryTableEntryType_MP5FirmwareEntry             PSPDirectoryTableEntryType = 42
	PSPDirectoryTableEntryType_AGESABinary0Entry            PSPDirectoryTableEntryType = 48
	PSPDirectoryTableEntryType_SEVCodeEntry                 PSPDirectoryTableEntryType = 57
	PSPDirectoryTableEntryType_PSPDirectoryTableLevel2Entry PSPDirectoryTableEntryType = 64
	PSPDirectoryTableEntryType_DXIOPHYSRAMFirmwareEntry     PSPDirectoryTableEntryType = 66
	PSPDirectoryTableEntryType_DRTMTAEntry                  PSPDirectoryTableEntryType = 71
	PSPDirectoryTableEntryType_KeyDatabaseEntry             PSPDirectoryTableEntryType = 80
)
var DirectoryEntry_PSPEntry_DEFAULT PSPDirectoryTableEntryType

func PSPDirectoryTableEntryTypeFromString

func PSPDirectoryTableEntryTypeFromString(s string) (PSPDirectoryTableEntryType, error)

func (PSPDirectoryTableEntryType) MarshalText

func (p PSPDirectoryTableEntryType) MarshalText() ([]byte, error)

func (*PSPDirectoryTableEntryType) Scan

func (p *PSPDirectoryTableEntryType) Scan(value interface{}) error

func (PSPDirectoryTableEntryType) String

func (*PSPDirectoryTableEntryType) UnmarshalText

func (p *PSPDirectoryTableEntryType) UnmarshalText(text []byte) error

func (*PSPDirectoryTableEntryType) Value

Jump to

Keyboard shortcuts

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