Use DISABLE HECI message instead of HMRFPO
Change-Id: If1c3dfed4aff7f8299951cfe429677c9ea92b086
This commit is contained in:
parent
1ca3e44c90
commit
bc3e31005d
@ -163,15 +163,23 @@ void dump_me_status(void *unused)
|
|||||||
#define DISABLE_ME 1
|
#define DISABLE_ME 1
|
||||||
#if DISABLE_ME
|
#if DISABLE_ME
|
||||||
|
|
||||||
void disable_me(void* unused);
|
static void disable_me(void* unused)
|
||||||
|
|
||||||
void disable_me(void* unused)
|
|
||||||
{
|
{
|
||||||
u32 msg[] = {0x00000105, 0x00000000, 0x00000000};
|
|
||||||
printk(BIOS_DEBUG, "ME: send disable message\n");
|
printk(BIOS_DEBUG, "ME: send disable message\n");
|
||||||
if (!heci_send(&msg, sizeof(msg), BIOS_HOST_ADDR,
|
|
||||||
HECI_MKHI_ADDR))
|
struct disable_command {
|
||||||
printk(BIOS_ERR, "ME: Error sending HMRFPO msg\n");
|
uint32_t hdr;
|
||||||
|
uint32_t rule_id;
|
||||||
|
uint8_t rule_len;
|
||||||
|
uint32_t rule_data;
|
||||||
|
} __packed msg;
|
||||||
|
msg.hdr = 0x303;
|
||||||
|
msg.rule_id = 6;
|
||||||
|
msg.rule_len = 4;
|
||||||
|
msg.rule_data = 0;
|
||||||
|
|
||||||
|
if (!heci_send(&msg, sizeof(msg), BIOS_HOST_ADDR, HECI_MKHI_ADDR))
|
||||||
|
printk(BIOS_ERR, "ME: Error sending DISABLE msg\n");
|
||||||
dump_me_status(unused);
|
dump_me_status(unused);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user