]> git.saurik.com Git - apple/xnu.git/blame - pexpert/pexpert/arm/protos.h
xnu-7195.101.1.tar.gz
[apple/xnu.git] / pexpert / pexpert / arm / protos.h
CommitLineData
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
11extern vm_offset_t pe_arm_get_soc_base_phys(void);
5ba3f43e
A
12extern uint32_t pe_arm_init_interrupts(void *args);
13extern void pe_arm_init_debug(void *args);
14
15
0a7de745 16#ifdef PEXPERT_KERNEL_PRIVATE
5ba3f43e 17extern void cnputc(char);
f427ee49 18extern void cnputc_unbuffered(char);
5ba3f43e
A
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 */