Hi,
I was looking at the function go_to_protected_mode in arch/i386/boot/pm.c and at the end it calls protected_mode_jump witch is a function defined in arch/i386/bootbck/pmjump.S. The function protected_mode_jump has 2 arguments and according to the code they seems to be in %edx and %eax. I was wondering which kind of calling convention it is? If someone can show me some docs or explain me. Furthermore, does someone knows how to tell gdb the file contains 16 bits code because when I'm trying to disassemble any file under arch/i386/boot I got only crap because it thinks it's 32 bits code.
Thank you
Grob