Documentation ¶
Overview ¶
implement HECI using ME interface (mei) via official kernel drivers
Implement HECI using ME interface (mei) via official kernel drivers. The code is partially based on u-root code.
Copyright 2020 the u-root Authors. All rights reserved Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
implement HECI using direct memory-mapped interface (mei) via official kernel drivers
Index ¶
- Constants
- func ReportMECommands(commands []api.MEClientCommands) (err error)
- type Ctrl
- func (c *Ctrl) ClrIRQEnable()
- func (c *Ctrl) ClrReset()
- func (c *Ctrl) IsIRQStatus() bool
- func (c *Ctrl) IsIRQTrigger() bool
- func (c *Ctrl) IsReady() bool
- func (c *Ctrl) IsReset() bool
- func (c *Ctrl) SetIRQEnable()
- func (c *Ctrl) SetIRQStatus()
- func (c *Ctrl) SetIRQTrigger()
- func (c *Ctrl) SetReady()
- func (c *Ctrl) SetReset()
- type Hecihdr
- type MECommandIntf
Constants ¶
View Source
const ( PATH_DEV_MEI = "/dev/mei0" IOCTL_CONNECT_CLIENT = 0xC0104801 )
Variables ¶
This section is empty.
Functions ¶
func ReportMECommands ¶
func ReportMECommands(commands []api.MEClientCommands) (err error)
Types ¶
type Ctrl ¶
func (*Ctrl) ClrIRQEnable ¶
func (c *Ctrl) ClrIRQEnable()
func (*Ctrl) IsIRQStatus ¶
func (*Ctrl) IsIRQTrigger ¶
func (*Ctrl) SetIRQEnable ¶
func (c *Ctrl) SetIRQEnable()
func (*Ctrl) SetIRQStatus ¶
func (c *Ctrl) SetIRQStatus()
func (*Ctrl) SetIRQTrigger ¶
func (c *Ctrl) SetIRQTrigger()
type Hecihdr ¶
type Hecihdr [4]byte
func (Hecihdr) MsgComplete ¶
func (*Hecihdr) SetHostAddr ¶
func (*Hecihdr) SetMsgComplete ¶
type MECommandIntf ¶
type MECommandIntf interface {
// contains filtered or unexported methods
}
Click to show internal directories.
Click to hide internal directories.