mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
Applied a modified version of holger's regparm patches.
This commit is contained in:
@@ -321,7 +321,7 @@ static int int13_get_extended_parameters ( struct int13_drive *drive,
|
||||
* INT 13 handler
|
||||
*
|
||||
*/
|
||||
static void int13 ( struct i386_all_regs *ix86 ) {
|
||||
static __cdecl void int13 ( struct i386_all_regs *ix86 ) {
|
||||
int command = ix86->regs.ah;
|
||||
unsigned int bios_drive = ix86->regs.dl;
|
||||
unsigned int original_bios_drive = bios_drive;
|
||||
|
||||
@@ -112,7 +112,7 @@ static PXENV_EXIT_t pxenv_unknown ( struct s_PXENV_UNKNOWN *pxenv_unknown ) {
|
||||
* @v es:di Address of PXE parameter block
|
||||
* @ret ax PXE exit code
|
||||
*/
|
||||
void pxe_api_call ( struct i386_all_regs *ix86 ) {
|
||||
__cdecl void pxe_api_call ( struct i386_all_regs *ix86 ) {
|
||||
int opcode = ix86->regs.bx;
|
||||
userptr_t parameters = real_to_user ( ix86->segs.es, ix86->regs.di );
|
||||
size_t param_len;
|
||||
@@ -304,7 +304,7 @@ void pxe_api_call ( struct i386_all_regs *ix86 ) {
|
||||
* @v es:di Address of PXE parameter block
|
||||
* @ret ax PXE exit code
|
||||
*/
|
||||
void pxe_loader_call ( struct i386_all_regs *ix86 ) {
|
||||
__cdecl void pxe_loader_call ( struct i386_all_regs *ix86 ) {
|
||||
userptr_t uparams = real_to_user ( ix86->segs.es, ix86->regs.di );
|
||||
struct s_UNDI_LOADER params;
|
||||
PXENV_EXIT_t ret;
|
||||
|
||||
Reference in New Issue
Block a user