machdep.h (d60840138f6292c1ceeb177ebe797eca0b2749da) machdep.h (698c14e189107f370e0b4523a914d3916d46e603)
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

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

32struct arm64_bootparams {
33 vm_offset_t modulep;
34 vm_offset_t kern_l1pt; /* L1 page table for the kernel */
35 uint64_t kern_delta;
36 vm_offset_t kern_stack;
37 vm_offset_t kern_l0pt; /* L1 page table for the kernel */
38};
39
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

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

32struct arm64_bootparams {
33 vm_offset_t modulep;
34 vm_offset_t kern_l1pt; /* L1 page table for the kernel */
35 uint64_t kern_delta;
36 vm_offset_t kern_stack;
37 vm_offset_t kern_l0pt; /* L1 page table for the kernel */
38};
39
40enum arm64_bus {
41 ARM64_BUS_NONE,
42 ARM64_BUS_FDT,
43 ARM64_BUS_ACPI,
44};
45
46extern enum arm64_bus arm64_bus_method;
47
40extern vm_paddr_t physmap[];
41extern u_int physmap_idx;
42
43void initarm(struct arm64_bootparams *);
44extern void (*pagezero)(void *);
45
46#endif /* _MACHINE_MACHDEP_H_ */
48extern vm_paddr_t physmap[];
49extern u_int physmap_idx;
50
51void initarm(struct arm64_bootparams *);
52extern void (*pagezero)(void *);
53
54#endif /* _MACHINE_MACHDEP_H_ */