]>
Commit | Line | Data |
---|---|---|
5ba3f43e A |
1 | /* |
2 | * Copyright (c) 2000-2013 Apple Inc. All rights reserved. | |
3 | */ | |
4 | #ifndef _PEXPERT_ARM_PROTOS_H | |
5 | #define _PEXPERT_ARM_PROTOS_H | |
6 | ||
7 | #if defined __arm64__ | |
8 | #define SHMCON 1 | |
9 | #endif | |
10 | ||
11 | extern vm_offset_t pe_arm_get_soc_base_phys(void); | |
5ba3f43e A |
12 | extern uint32_t pe_arm_init_interrupts(void *args); |
13 | extern void pe_arm_init_debug(void *args); | |
14 | ||
15 | ||
0a7de745 | 16 | #ifdef PEXPERT_KERNEL_PRIVATE |
5ba3f43e | 17 | extern void cnputc(char); |
f427ee49 | 18 | extern void cnputc_unbuffered(char); |
5ba3f43e A |
19 | #endif |
20 | int serial_init(void); | |
21 | int serial_getc(void); | |
22 | void serial_putc(char); | |
23 | void uart_putc(char); | |
24 | int uart_getc(void); | |
25 | ||
26 | int switch_to_serial_console(void); | |
27 | void switch_to_old_console(int); | |
28 | ||
29 | __BEGIN_DECLS | |
30 | int pe_shmcon_set_child(uint64_t paddr, uint32_t entry); | |
31 | __END_DECLS | |
32 | ||
33 | #endif /* _PEXPERT_ARM_PROTOS_H */ |