diff options
author | ian <ian@FreeBSD.org> | 2014-05-15 17:30:16 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-05-15 17:30:16 +0000 |
commit | 1e3130abad8238f721742fec6f1344d69dfc799a (patch) | |
tree | 02c63d840ed8c9a1ca98f1fd2391c32f3d2be191 /sys/arm/include | |
parent | fa992863d2953ae935e914366aeafac44ad9d005 (diff) | |
download | FreeBSD-src-1e3130abad8238f721742fec6f1344d69dfc799a.zip FreeBSD-src-1e3130abad8238f721742fec6f1344d69dfc799a.tar.gz |
MFC r261423, r261424, r261516, r261513, r261562, r261563, r261564, r261565,
r261596, r261606
Add the imx sdhci controller.
Move Open Firmware device root on PowerPC, ARM, and MIPS systems to
a sub-node of nexus (ofwbus) rather than direct attach under nexus. This
fixes FDT on x86 and will make coexistence with ACPI on ARM systems easier.
SPARC is unchanged.
Add the missing ')' at end of sentence. Reword it to use a more common idiom.
Pass the kernel physical address to initarm through the boot param struct.
Make functions only used in vfp.c static, and remove vfp_enable.
Fix __syscall on armeb EABI. As it returns a 64-bit value it needs to
place 32-bit data in r1, not r0. 64-bit data is already packed correctly.
Use abp_physaddr for the physical address over KERNPHYSADDR. This helps us
remove the need to load the kernel at a fixed address.
Remove references to PHYSADDR where it's used only in debugging output.
Dynamically generate the page table. This will allow us to detect the
physical address we are loaded at to change the mapping.
Diffstat (limited to 'sys/arm/include')
-rw-r--r-- | sys/arm/include/cpu.h | 1 | ||||
-rw-r--r-- | sys/arm/include/machdep.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/include/cpu.h b/sys/arm/include/cpu.h index 95779e1..88dbcdb 100644 --- a/sys/arm/include/cpu.h +++ b/sys/arm/include/cpu.h @@ -41,6 +41,7 @@ struct arm_boot_params { register_t abp_r1; /* r1 from the boot loader */ register_t abp_r2; /* r2 from the boot loader */ register_t abp_r3; /* r3 from the boot loader */ + vm_offset_t abp_physaddr; /* The kernel physical address */ }; void arm_vector_init(vm_offset_t, int); diff --git a/sys/arm/include/machdep.h b/sys/arm/include/machdep.h index 46d7e66..e8f5c4f 100644 --- a/sys/arm/include/machdep.h +++ b/sys/arm/include/machdep.h @@ -72,6 +72,6 @@ void board_set_serial(uint64_t); void board_set_revision(uint32_t); /* Setup standard arrays */ -void arm_dump_avail_init( vm_offset_t memsize, size_t max); +void arm_dump_avail_init(vm_paddr_t, vm_offset_t, size_t); #endif /* !_MACHINE_MACHDEP_H_ */ |