coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ebda.c File Reference
#include <stdint.h>
#include <acpi/acpi.h>
#include <arch/ebda.h>
#include <commonlib/endian.h>
Include dependency graph for ebda.c:

Go to the source code of this file.

Functions

static voidget_ebda_start (void)
 
static void setup_ebda (u32 low_memory_size, u16 ebda_segment, u16 ebda_size)
 
void setup_default_ebda (void)
 

Function Documentation

◆ get_ebda_start()

static void* get_ebda_start ( void  )
static

Definition at line 8 of file ebda.c.

References DEFAULT_EBDA_SEGMENT.

Referenced by setup_ebda().

Here is the caller graph for this function:

◆ setup_default_ebda()

void setup_default_ebda ( void  )

Definition at line 43 of file ebda.c.

References acpi_is_wakeup_s3(), DEFAULT_EBDA_LOWMEM, DEFAULT_EBDA_SEGMENT, DEFAULT_EBDA_SIZE, and setup_ebda().

Referenced by dev_initialize().

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

◆ setup_ebda()

static void setup_ebda ( u32  low_memory_size,
u16  ebda_segment,
u16  ebda_size 
)
static

Definition at line 18 of file ebda.c.

References get_ebda_start(), write_le16(), X86_BDA_BASE, X86_BDA_SIZE, X86_EBDA_LOWMEM, X86_EBDA_SEGMENT, and zero_n().

Referenced by setup_default_ebda().

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