.. | .. |
---|
153 | 153 | SHARE_PAGE_TYPE_MAX, |
---|
154 | 154 | } share_page_type_t; |
---|
155 | 155 | |
---|
| 156 | +struct pt_regs; |
---|
| 157 | +typedef void (*sip_fiq_debugger_uart_irq_tf_cb_t)(struct pt_regs *_pt_regs, unsigned long cpu); |
---|
| 158 | + |
---|
156 | 159 | /* |
---|
157 | 160 | * Rules: struct arm_smccc_res contains result and data, details: |
---|
158 | 161 | * |
---|
.. | .. |
---|
184 | 187 | /***************************fiq debugger **************************************/ |
---|
185 | 188 | void sip_fiq_debugger_enable_fiq(bool enable, uint32_t tgt_cpu); |
---|
186 | 189 | void sip_fiq_debugger_enable_debug(bool enable); |
---|
187 | | -int sip_fiq_debugger_uart_irq_tf_init(u32 irq_id, void *callback_fn); |
---|
| 190 | +int sip_fiq_debugger_uart_irq_tf_init(u32 irq_id, sip_fiq_debugger_uart_irq_tf_cb_t callback_fn); |
---|
188 | 191 | int sip_fiq_debugger_set_print_port(u32 port_phyaddr, u32 baudrate); |
---|
189 | 192 | int sip_fiq_debugger_request_share_memory(void); |
---|
190 | 193 | int sip_fiq_debugger_get_target_cpu(void); |
---|
.. | .. |
---|
283 | 286 | |
---|
284 | 287 | static inline void sip_fiq_debugger_enable_debug(bool enable) { return; } |
---|
285 | 288 | static inline int sip_fiq_debugger_uart_irq_tf_init(u32 irq_id, |
---|
286 | | - void *callback_fn) |
---|
| 289 | + sip_fiq_debugger_uart_irq_tf_cb_t callback_fn) |
---|
287 | 290 | { |
---|
288 | 291 | return 0; |
---|
289 | 292 | } |
---|