]> git.saurik.com Git - apple/xnu.git/blame_incremental - pexpert/pexpert/arm/protos.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / pexpert / pexpert / arm / protos.h
... / ...
CommitLineData
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
11extern vm_offset_t pe_arm_get_soc_base_phys(void);
12extern uint32_t pe_arm_init_interrupts(void *args);
13extern void pe_arm_init_debug(void *args);
14
15
16#ifdef PEXPERT_KERNEL_PRIVATE
17extern void cnputc(char);
18extern void cnputc_unbuffered(char);
19#endif
20int serial_init(void);
21int serial_getc(void);
22void serial_putc(char);
23void uart_putc(char);
24int uart_getc(void);
25
26int switch_to_serial_console(void);
27void switch_to_old_console(int);
28
29__BEGIN_DECLS
30int pe_shmcon_set_child(uint64_t paddr, uint32_t entry);
31__END_DECLS
32
33#endif /* _PEXPERT_ARM_PROTOS_H */