Definition at line 4 of file dumpregs.c.
12 printf (
"EAX=%08x EBX=%08x ECX=%08x EDX=%08x\n" 13 "ESI=%08x EDI=%08x EBP=%08x ESP=%08x\n" 14 "CS=%04x SS=%04x DS=%04x ES=%04x FS=%04x GS=%04x\n",
struct i386_seg_regs segs
int printf(const char *fmt,...)
Write a formatted string to the console.
#define VIRT_CALL(function)
Call C function from real-mode code.
void __asmcall _dump_regs(struct i386_all_regs *ix86)
__asm__ __volatile__("\n1:\n\t" "movb -1(%3,%1), %%al\n\t" "stosb\n\t" "loop 1b\n\t" "xorl %%eax, %%eax\n\t" "mov %4, %1\n\t" "rep stosb\n\t" :"=&D"(discard_D), "=&c"(discard_c), "+m"(*value) :"r"(data), "g"(pad_len), "0"(value0), "1"(len) :"eax")
__asm__(".section \".rodata\", \"a\", " PROGBITS "\n\t" "\nprivate_key_data:\n\t" ".size private_key_data, ( . - private_key_data )\n\t" ".equ private_key_len, ( . - private_key_data )\n\t" ".previous\n\t")
#define TEXT16_CODE(asm_code_str)
References __asm__(), __volatile__(), i386_seg_regs::cs, i386_seg_regs::ds, i386_regs::eax, i386_regs::ebp, i386_regs::ebx, i386_regs::ecx, i386_regs::edi, i386_regs::edx, i386_seg_regs::es, i386_regs::esi, i386_regs::esp, i386_seg_regs::fs, i386_seg_regs::gs, printf(), i386_all_regs::regs, i386_all_regs::segs, i386_seg_regs::ss, TEXT16_CODE, and VIRT_CALL.