likely found a way to pass parameters to 32-bit routines from -mshort compiled code
This commit is contained in:
@@ -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__));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user