machdep.h (ba31362694fe465b88a025ac7c35ad7f378efc86) machdep.h (353b6a5bcb5ae6943903b38ebcc0922b059ff8b8)
1/*-
2 * Copyright (c) 2013 Andrew Turner <andrew@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 34 unchanged lines hidden (view full) ---

43 ARM64_BUS_FDT,
44 ARM64_BUS_ACPI,
45};
46
47extern enum arm64_bus arm64_bus_method;
48
49void dbg_init(void);
50bool has_hyp(void);
1/*-
2 * Copyright (c) 2013 Andrew Turner <andrew@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 34 unchanged lines hidden (view full) ---

43 ARM64_BUS_FDT,
44 ARM64_BUS_ACPI,
45};
46
47extern enum arm64_bus arm64_bus_method;
48
49void dbg_init(void);
50bool has_hyp(void);
51bool in_vhe(void);
51void initarm(struct arm64_bootparams *);
52vm_offset_t parse_boot_param(struct arm64_bootparams *abp);
53#ifdef FDT
54void parse_fdt_bootargs(void);
55#endif
56int memory_mapping_mode(vm_paddr_t pa);
57extern void (*pagezero)(void *);
58
59#ifdef SOCDEV_PA
60/*
61 * The virtual address SOCDEV_PA is mapped at.
62 * Only valid while the early pagetables are valid.
63 */
64extern uintptr_t socdev_va;
65#endif
66
67#endif /* _KERNEL */
68
69#endif /* _MACHINE_MACHDEP_H_ */
52void initarm(struct arm64_bootparams *);
53vm_offset_t parse_boot_param(struct arm64_bootparams *abp);
54#ifdef FDT
55void parse_fdt_bootargs(void);
56#endif
57int memory_mapping_mode(vm_paddr_t pa);
58extern void (*pagezero)(void *);
59
60#ifdef SOCDEV_PA
61/*
62 * The virtual address SOCDEV_PA is mapped at.
63 * Only valid while the early pagetables are valid.
64 */
65extern uintptr_t socdev_va;
66#endif
67
68#endif /* _KERNEL */
69
70#endif /* _MACHINE_MACHDEP_H_ */