Home
last modified time | relevance | path

Searched refs:SEG (Results 1 – 2 of 2) sorted by relevance

/u-boot/arch/x86/lib/
A Dbios_asm.S12 #define SEG(segment) $segment * X86_GDT_ENTRY_SIZE macro
49 ljmp SEG(X86_GDT_ENTRY_16BIT_CS), $PTR_TO_REAL_MODE(1f)
57 mov SEG(X86_GDT_ENTRY_16BIT_DS), %ax
105 mov SEG(X86_GDT_ENTRY_16BIT_FLAT_DS), %ax
118 data32 ljmp SEG(X86_GDT_ENTRY_32BIT_CS), $PTR_TO_REAL_MODE(1f)
121 mov SEG(X86_GDT_ENTRY_32BIT_DS), %ax
126 mov SEG(X86_GDT_ENTRY_32BIT_FS), %ax
/u-boot/drivers/bios_emulator/
A Dbiosemu.c72 #define SEG(addr) (u16)(((addr) >> 4) & 0xf000) macro
219 *rseg = SEG(0x03C00); in BE_getVESABuf()
266 M.x86.R_CS = SEG(0x04000); in BE_callRealMode()
269 M.x86.R_SS = SEG(M.mem_size - 2); in BE_callRealMode()
309 M.x86.R_CS = SEG(0x04000); in BE_int86()
312 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86()
353 M.x86.R_CS = SEG(0x04000); in BE_int86x()
356 M.x86.R_SS = SEG(M.mem_size - 1); in BE_int86x()

Completed in 4 milliseconds