machdep.c (e1b610f76caa09bbc3910477da878ea5078c6569) | machdep.c (2fee8756294820ff9ec6f8d17324e7d8a0a45040) |
---|---|
1/*- 2 * Copyright (c) 2014 Andrew Turner 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 --- 86 unchanged lines hidden (view full) --- 95#include <machine/acpica_machdep.h> 96#endif 97 98#ifdef FDT 99#include <dev/fdt/fdt_common.h> 100#include <dev/ofw/openfirm.h> 101#endif 102 | 1/*- 2 * Copyright (c) 2014 Andrew Turner 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 --- 86 unchanged lines hidden (view full) --- 95#include <machine/acpica_machdep.h> 96#endif 97 98#ifdef FDT 99#include <dev/fdt/fdt_common.h> 100#include <dev/ofw/openfirm.h> 101#endif 102 |
103#include <dev/smbios/smbios.h> 104 |
|
103enum arm64_bus arm64_bus_method = ARM64_BUS_NONE; 104 105/* 106 * XXX: The .bss is assumed to be in the boot CPU NUMA domain. If not we 107 * could relocate this, but will need to keep the same virtual address as 108 * it's reverenced by the EARLY_COUNTER macro. 109 */ 110struct pcpu pcpu0; --- 757 unchanged lines hidden (view full) --- 868 lastaddr = parse_boot_param(abp); 869 870 /* Find the kernel address */ 871 kmdp = preload_search_by_type("elf kernel"); 872 if (kmdp == NULL) 873 kmdp = preload_search_by_type("elf64 kernel"); 874 875 identify_cpu(0); | 105enum arm64_bus arm64_bus_method = ARM64_BUS_NONE; 106 107/* 108 * XXX: The .bss is assumed to be in the boot CPU NUMA domain. If not we 109 * could relocate this, but will need to keep the same virtual address as 110 * it's reverenced by the EARLY_COUNTER macro. 111 */ 112struct pcpu pcpu0; --- 757 unchanged lines hidden (view full) --- 870 lastaddr = parse_boot_param(abp); 871 872 /* Find the kernel address */ 873 kmdp = preload_search_by_type("elf kernel"); 874 if (kmdp == NULL) 875 kmdp = preload_search_by_type("elf64 kernel"); 876 877 identify_cpu(0); |
878 identify_hypervisor_smbios(); 879 |
|
876 update_special_regs(0); 877 878 link_elf_ireloc(kmdp); 879#ifdef FDT 880 try_load_dtb(kmdp); 881#endif 882 883 efi_systbl_phys = MD_FETCH(kmdp, MODINFOMD_FW_HANDLE, vm_paddr_t); --- 239 unchanged lines hidden --- | 880 update_special_regs(0); 881 882 link_elf_ireloc(kmdp); 883#ifdef FDT 884 try_load_dtb(kmdp); 885#endif 886 887 efi_systbl_phys = MD_FETCH(kmdp, MODINFOMD_FW_HANDLE, vm_paddr_t); --- 239 unchanged lines hidden --- |