coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
biosemu.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MIN_REQUIRED_VMEM_SIZE   0x100000
 
#define STACK_SEGMENT   0x1000
 
#define STACK_START_OFFSET   0xfffe
 
#define DATA_SEGMENT   0x2000
 
#define VBE_SEGMENT   0x3000
 
#define PMM_CONV_SEGMENT   0x4000
 
#define PNP_DATA_SEGMENT   0x5000
 
#define OPTION_ROM_CODE_SEGMENT   0xc000
 
#define BIOS_DATA_SEGMENT   0xF000
 
#define INITIAL_EBDA_SEGMENT   0xF600
 
#define INITIAL_EBDA_SIZE   0x400
 
#define PMM_INT_NUM   0xFC
 
#define PNP_INT_NUM   0xFD
 

Typedefs

typedef int(* yabel_handleIntFunc) (void)
 

Functions

void mainboard_interrupt_handlers (int, yabel_handleIntFunc)
 
u32 biosemu (u8 *biosmem, u32 biosmem_size, struct device *dev, unsigned long rom_addr)
 

Variables

yabel_handleIntFunc yabel_intFuncArray [256]
 

Macro Definition Documentation

◆ BIOS_DATA_SEGMENT

#define BIOS_DATA_SEGMENT   0xF000

Definition at line 53 of file biosemu.h.

◆ DATA_SEGMENT

#define DATA_SEGMENT   0x2000

Definition at line 44 of file biosemu.h.

◆ INITIAL_EBDA_SEGMENT

#define INITIAL_EBDA_SEGMENT   0xF600

Definition at line 55 of file biosemu.h.

◆ INITIAL_EBDA_SIZE

#define INITIAL_EBDA_SIZE   0x400

Definition at line 56 of file biosemu.h.

◆ MIN_REQUIRED_VMEM_SIZE

#define MIN_REQUIRED_VMEM_SIZE   0x100000

Definition at line 38 of file biosemu.h.

◆ OPTION_ROM_CODE_SEGMENT

#define OPTION_ROM_CODE_SEGMENT   0xc000

Definition at line 51 of file biosemu.h.

◆ PMM_CONV_SEGMENT

#define PMM_CONV_SEGMENT   0x4000

Definition at line 47 of file biosemu.h.

◆ PMM_INT_NUM

#define PMM_INT_NUM   0xFC

Definition at line 58 of file biosemu.h.

◆ PNP_DATA_SEGMENT

#define PNP_DATA_SEGMENT   0x5000

Definition at line 49 of file biosemu.h.

◆ PNP_INT_NUM

#define PNP_INT_NUM   0xFD

Definition at line 60 of file biosemu.h.

◆ STACK_SEGMENT

#define STACK_SEGMENT   0x1000

Definition at line 41 of file biosemu.h.

◆ STACK_START_OFFSET

#define STACK_START_OFFSET   0xfffe

Definition at line 42 of file biosemu.h.

◆ VBE_SEGMENT

#define VBE_SEGMENT   0x3000

Definition at line 45 of file biosemu.h.

Typedef Documentation

◆ yabel_handleIntFunc

typedef int(* yabel_handleIntFunc) (void)

Definition at line 67 of file biosemu.h.

Function Documentation

◆ biosemu()

◆ mainboard_interrupt_handlers()

void mainboard_interrupt_handlers ( int  intXX,
yabel_handleIntFunc  intXX_func 
)

Definition at line 120 of file x86.c.

References intXX_handler, and yabel_intFuncArray.

Variable Documentation

◆ yabel_intFuncArray

yabel_handleIntFunc yabel_intFuncArray[256]
extern

Definition at line 71 of file biosemu.c.

Referenced by handleInterrupt(), and mainboard_interrupt_handlers().