coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
me.c File Reference
#include <device/pci_ops.h>
#include <types.h>
#include "me.h"
Include dependency graph for me.c:

Go to the source code of this file.

Macros

#define __SIMPLE_DEVICE__
 
#define PCH_LPC_DEV   PCI_DEV(0, 0x1f, 0)
 
#define ETR3   0xac
 
#define ETR3_CWORWRE   (1 << 18)
 
#define ETR3_CF9GR   (1 << 20)
 
#define ETR3_CF9LOCK   (1 << 31)
 

Functions

void set_global_reset (const bool enable)
 

Macro Definition Documentation

◆ __SIMPLE_DEVICE__

#define __SIMPLE_DEVICE__

Definition at line 3 of file me.c.

◆ ETR3

#define ETR3   0xac

Definition at line 12 of file me.c.

◆ ETR3_CF9GR

#define ETR3_CF9GR   (1 << 20)

Definition at line 14 of file me.c.

◆ ETR3_CF9LOCK

#define ETR3_CF9LOCK   (1 << 31)

Definition at line 15 of file me.c.

◆ ETR3_CWORWRE

#define ETR3_CWORWRE   (1 << 18)

Definition at line 13 of file me.c.

◆ PCH_LPC_DEV

#define PCH_LPC_DEV   PCI_DEV(0, 0x1f, 0)

Definition at line 10 of file me.c.

Function Documentation

◆ set_global_reset()

void set_global_reset ( const bool  enable)

Definition at line 17 of file me.c.

References ETR3, ETR3_CF9GR, ETR3_CWORWRE, PCH_LPC_DEV, pci_read_config32(), and pci_write_config32().

Referenced by intel_early_me_init_done(), and txt_reset_platform().

Here is the call graph for this function:
Here is the caller graph for this function: