head_64.S (efdcd41b4e41560375bb34ad8b095bcaa1c3a93f) head_64.S (28794d34ecb6815a3fa0a4256027c9b081a17c5f)
1/*
2 * PowerPC version
3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
4 *
5 * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP
6 * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu>
7 * Adapted for Power Macintosh by Paul Mackerras.
8 * Low-level exception handlers and MMU support

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

13551: bl .__cpu_preinit_ppc970
13562:
1357
1358 /* Switch off MMU if not already off */
1359 bl .__mmu_off
1360 b .__after_prom_start
1361
1362_INIT_STATIC(__boot_from_prom)
1/*
2 * PowerPC version
3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
4 *
5 * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP
6 * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu>
7 * Adapted for Power Macintosh by Paul Mackerras.
8 * Low-level exception handlers and MMU support

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

13551: bl .__cpu_preinit_ppc970
13562:
1357
1358 /* Switch off MMU if not already off */
1359 bl .__mmu_off
1360 b .__after_prom_start
1361
1362_INIT_STATIC(__boot_from_prom)
1363#ifdef CONFIG_PPC_OF_BOOT_TRAMPOLINE
1363 /* Save parameters */
1364 mr r31,r3
1365 mr r30,r4
1366 mr r29,r5
1367 mr r28,r6
1368 mr r27,r7
1369
1370 /*

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

1385 mr r4,r30
1386 mr r5,r29
1387 mr r6,r28
1388 mr r7,r27
1389
1390 /* Do all of the interaction with OF client interface */
1391 mr r8,r26
1392 bl .prom_init
1364 /* Save parameters */
1365 mr r31,r3
1366 mr r30,r4
1367 mr r29,r5
1368 mr r28,r6
1369 mr r27,r7
1370
1371 /*

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

1386 mr r4,r30
1387 mr r5,r29
1388 mr r6,r28
1389 mr r7,r27
1390
1391 /* Do all of the interaction with OF client interface */
1392 mr r8,r26
1393 bl .prom_init
1393 /* We never return */
1394#endif /* #CONFIG_PPC_OF_BOOT_TRAMPOLINE */
1395
1396 /* We never return. We also hit that trap if trying to boot
1397 * from OF while CONFIG_PPC_OF_BOOT_TRAMPOLINE isn't selected */
1394 trap
1395
1396_STATIC(__after_prom_start)
1397#ifdef CONFIG_RELOCATABLE
1398 /* process relocations for the final address of the kernel */
1399 lis r25,PAGE_OFFSET@highest /* compute virtual base of kernel */
1400 sldi r25,r25,32
1401#ifdef CONFIG_CRASH_DUMP

--- 353 unchanged lines hidden ---
1398 trap
1399
1400_STATIC(__after_prom_start)
1401#ifdef CONFIG_RELOCATABLE
1402 /* process relocations for the final address of the kernel */
1403 lis r25,PAGE_OFFSET@highest /* compute virtual base of kernel */
1404 sldi r25,r25,32
1405#ifdef CONFIG_CRASH_DUMP

--- 353 unchanged lines hidden ---