likely found a way to pass parameters to 32-bit routines from -mshort compiled code

This commit is contained in:
Markus Fröschle
2013-05-06 15:59:07 +00:00
parent dc40bf93a0
commit b18293f7c9
2 changed files with 22 additions and 22 deletions

View File

@@ -87,9 +87,9 @@ typedef void* (*xhdi_call_fun)(int xhdi_fun, ...);
struct XHDICALL_args
{
uint16_t opcode;
} __attribute__((packed));
};
extern uint32_t xhdi_call(struct XHDICALL_args *stack);
extern unsigned long xhdi_call(struct XHDICALL_args stack);
extern xhdi_call_fun xhdi_sd_install(xhdi_call_fun old_vector) __attribute__((__interrupt__));