coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pmbase.h File Reference
#include <stdint.h>
Include dependency graph for pmbase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

u16 lpc_get_pmbase (void)
 
void write_pmbase32 (const u8 addr, const u32 val)
 
void write_pmbase16 (const u8 addr, const u16 val)
 
void write_pmbase8 (const u8 addr, const u8 val)
 
u32 read_pmbase32 (const u8 addr)
 
u16 read_pmbase16 (const u8 addr)
 
u8 read_pmbase8 (const u8 addr)
 

Function Documentation

◆ lpc_get_pmbase()

u16 lpc_get_pmbase ( void  )

Definition at line 19 of file pmbase.c.

References PCI_DEV, pci_read_config16(), pcidev_on_root(), PMBASE, and pmbase.

Referenced by acpi_fill_fadt(), get_pmbase(), read_pmbase16(), read_pmbase32(), read_pmbase8(), smi_enabled(), write_pmbase16(), write_pmbase32(), and write_pmbase8().

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

◆ read_pmbase16()

u16 read_pmbase16 ( const u8  addr)

Definition at line 64 of file pmbase.c.

References addr, ASSERT, inw(), lpc_get_pmbase(), and PMSIZE.

Referenced by alt_gpi_mask(), dump_pm1_status(), early_usb_init(), intel_pch_finalize_smm(), platform_is_resuming(), reset_alt_gp_smi_status(), reset_pm1_status(), southbridge_smi_gpi(), and watchdog_off().

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

◆ read_pmbase32()

◆ read_pmbase8()

u8 read_pmbase8 ( const u8  addr)

Definition at line 71 of file pmbase.c.

References addr, ASSERT, inb(), lpc_get_pmbase(), and PMSIZE.

Referenced by smi_set_eos(), southbridge_smi_set_eos(), and southbridge_smi_sleep().

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

◆ write_pmbase16()

void write_pmbase16 ( const u8  addr,
const u16  val 
)

Definition at line 43 of file pmbase.c.

References addr, ASSERT, lpc_get_pmbase(), outw(), PMSIZE, and val.

Referenced by alt_gpi_mask(), early_usb_init(), i82801gx_power_options(), i82801jx_early_init(), intel_pch_finalize_smm(), pch_generic_setup(), reset_alt_gp_smi_status(), reset_pm1_status(), smm_southbridge_enable(), southbridge_smi_gpi(), and watchdog_off().

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

◆ write_pmbase32()

void write_pmbase32 ( const u8  addr,
const u32  val 
)

◆ write_pmbase8()

void write_pmbase8 ( const u8  addr,
const u8  val 
)

Definition at line 50 of file pmbase.c.

References addr, ASSERT, lpc_get_pmbase(), outb(), PMSIZE, and val.

Referenced by smi_set_eos(), southbridge_smi_set_eos(), and southbridge_smi_sleep().

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