machdep.c (238030) | machdep.c (242526) |
---|---|
1/*- 2 * Copyright (C) 2006-2012 Semihalf 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 --- 65 unchanged lines hidden (view full) --- 74 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 75 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 76 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 77 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 78 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79 */ 80 81#include <sys/cdefs.h> | 1/*- 2 * Copyright (C) 2006-2012 Semihalf 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 --- 65 unchanged lines hidden (view full) --- 74 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 75 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 76 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 77 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 78 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 79 */ 80 81#include <sys/cdefs.h> |
82__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 238030 2012-07-02 21:11:01Z marcel $"); | 82__FBSDID("$FreeBSD: head/sys/powerpc/booke/machdep.c 242526 2012-11-03 22:02:12Z marcel $"); |
83 84#include "opt_compat.h" 85#include "opt_ddb.h" 86#include "opt_kstack_pages.h" 87#include "opt_platform.h" 88 89#include <sys/cdefs.h> 90#include <sys/types.h> --- 317 unchanged lines hidden (view full) --- 408#endif 409 410 /* Initialise platform module */ 411 platform_probe_and_attach(); 412 413 /* Initialise virtual memory. */ 414 pmap_mmu_install(MMU_TYPE_BOOKE, 0); 415 pmap_bootstrap((uintptr_t)kernel_text, end); | 83 84#include "opt_compat.h" 85#include "opt_ddb.h" 86#include "opt_kstack_pages.h" 87#include "opt_platform.h" 88 89#include <sys/cdefs.h> 90#include <sys/types.h> --- 317 unchanged lines hidden (view full) --- 408#endif 409 410 /* Initialise platform module */ 411 platform_probe_and_attach(); 412 413 /* Initialise virtual memory. */ 414 pmap_mmu_install(MMU_TYPE_BOOKE, 0); 415 pmap_bootstrap((uintptr_t)kernel_text, end); |
416 pmap_bootstrapped = 1; |
|
416 debugf("MSR = 0x%08x\n", mfmsr()); 417#if defined(BOOKE_E500) 418 //tlb1_print_entries(); 419 //tlb1_print_tlbentries(); 420#endif 421 422 /* Initialize params/tunables that are derived from memsize. */ 423 init_param2(physmem); --- 202 unchanged lines hidden --- | 417 debugf("MSR = 0x%08x\n", mfmsr()); 418#if defined(BOOKE_E500) 419 //tlb1_print_entries(); 420 //tlb1_print_tlbentries(); 421#endif 422 423 /* Initialize params/tunables that are derived from memsize. */ 424 init_param2(physmem); --- 202 unchanged lines hidden --- |