MOS Source Code
Loading...
Searching...
No Matches
x86_platform.h File Reference
+ Include dependency graph for x86_platform.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  platform_regs_t
 

Macros

#define X86_BIOS_MEMREGION_PADDR   0xf0000
 
#define BIOS_MEMREGION_SIZE   0x10000
 
#define X86_EBDA_MEMREGION_PADDR   0x80000
 
#define EBDA_MEMREGION_SIZE   0x20000
 
#define X86_VIDEO_DEVICE_PADDR   0xb8000
 
#define MOS_SYSCALL_INTR   0x88
 

Functions

 MOS_STATIC_ASSERT (sizeof(platform_regs_t)==176, "platform_regs_t has incorrect size")
 
void x86_dump_stack_at (ptr_t this_frame, bool can_access_vmaps)
 
void x86_setup_lapic_timer ()
 

Variables

mos_platform_info_t x86_platform
 

Macro Definition Documentation

◆ X86_BIOS_MEMREGION_PADDR

#define X86_BIOS_MEMREGION_PADDR   0xf0000

Definition at line 7 of file x86_platform.h.

Referenced by platform_startup_late().

◆ BIOS_MEMREGION_SIZE

#define BIOS_MEMREGION_SIZE   0x10000

Definition at line 8 of file x86_platform.h.

Referenced by platform_startup_late().

◆ X86_EBDA_MEMREGION_PADDR

#define X86_EBDA_MEMREGION_PADDR   0x80000

Definition at line 10 of file x86_platform.h.

Referenced by platform_startup_late().

◆ EBDA_MEMREGION_SIZE

#define EBDA_MEMREGION_SIZE   0x20000

Definition at line 11 of file x86_platform.h.

Referenced by platform_startup_late().

◆ X86_VIDEO_DEVICE_PADDR

#define X86_VIDEO_DEVICE_PADDR   0xb8000

Definition at line 13 of file x86_platform.h.

◆ MOS_SYSCALL_INTR

#define MOS_SYSCALL_INTR   0x88

Definition at line 15 of file x86_platform.h.

Referenced by x86_idt_init(), and x86_interrupt_entry().

Function Documentation

◆ MOS_STATIC_ASSERT()

MOS_STATIC_ASSERT ( sizeof(platform_regs_t) = =176,
"platform_regs_t has incorrect size"  )

◆ x86_dump_stack_at()

void x86_dump_stack_at ( ptr_t this_frame,
bool can_access_vmaps )

Definition at line 97 of file x86_platform.c.

Referenced by platform_dump_current_stack(), platform_dump_stack(), and platform_dump_thread_kernel_stack().

+ Here is the call graph for this function:

◆ x86_setup_lapic_timer()

void x86_setup_lapic_timer ( )

Definition at line 86 of file x86_platform.c.

Referenced by platform_ap_entry(), and platform_startup_late().

+ Here is the call graph for this function:

Variable Documentation

◆ x86_platform

mos_platform_info_t x86_platform
extern

Definition at line 64 of file x86_platform.c.

Referenced by madt_parse_table(), platform_startup_late(), and x86_setup_direct_map().