Documentation
¶
Overview ¶
********************************************************************
- Copyright (c) Intel Corporation 2021
- SPDX-License-Identifier: Apache-2.0 *********************************************************************
Index ¶
- Constants
- Variables
- func Ioctl(fd, op, arg uintptr) error
- type CMEIConnectClientData
- type Driver
- func (heci *Driver) Close()
- func (heci *Driver) GetBufferSize() uint32
- func (heci *Driver) GetHardwareId() string
- func (heci *Driver) Init(useLME bool, useWD bool) error
- func (heci *Driver) ReceiveMessage(buffer []byte, done *uint32) (bytesRead uint32, err error)
- func (heci *Driver) SendMessage(buffer []byte, done *uint32) (bytesWritten uint32, err error)
- type Interface
- type MEIConnectClientData
Constants ¶
View Source
const ( Device = "/dev/mei0" IOCTL_MEI_CONNECT_CLIENT = 0xC0104801 )
Variables ¶
View Source
var MEI_IAMTHIF = [16]uint8{0x28, 0x00, 0xf8, 0x12, 0xb7, 0xb4, 0x2d, 0x4b, 0xac, 0xa8, 0x46, 0xe0, 0xff, 0x65, 0x81, 0x4c}
PTHI
View Source
var MEI_LMEIF = [16]uint8{0xdb, 0xa4, 0x33, 0x67, 0x76, 0x04, 0x7b, 0x4e, 0xb3, 0xaf, 0xbc, 0xfc, 0x29, 0xbe, 0xe7, 0xa7}
LME
View Source
var MEI_WDIF = [16]uint8{0x6f, 0x9a, 0xb7, 0x05, 0x28, 0x46, 0x7f, 0x4d, 0x89, 0x9D, 0xA9, 0x15, 0x14, 0xCB, 0x32, 0xAB}
Watchdog (WD)
Functions ¶
Types ¶
type CMEIConnectClientData ¶
type CMEIConnectClientData struct {
// contains filtered or unexported fields
}
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) GetBufferSize ¶
func (*Driver) GetHardwareId ¶
func (*Driver) ReceiveMessage ¶
type MEIConnectClientData ¶
Click to show internal directories.
Click to hide internal directories.