Changeset 10b890b in mainline for kernel/arch/sparc64/src/start.S


Ignore:
Timestamp:
2006-07-13T22:11:26Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c6e314a
Parents:
a5f76758
Message:

Move functionality of tlb_arch_init() to take_over_tlb_and_tt().
Call take_over_tlb_and_tt() very early after the kernel starts
executing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/start.S

    ra5f76758 r10b890b  
    4141 *
    4242 * The registers are expected to be in this state:
    43  * %o0 bootinfo structure address
    44  * %o1 bootinfo structure size
     43 * - %o0 bootinfo structure address
     44 * - %o1 bootinfo structure size
     45 *
     46 * Moreover, we depend on boot having established the
     47 * following environment:
     48 * - TLBs are on
     49 * - identity mapping for the kernel image
     50 * - identity mapping for memory stack
    4551 */
    4652
     
    6672        nop
    6773
     74        /*
     75         * Take over control of identity mapping.
     76         * Take over control of trap table.
     77         *
     78         * After this call, the kernel is entirely self-sufficient
     79         * and independent on OpenFirmware.
     80         */
     81        set kernel_image_start, %o0
     82        call take_over_tlb_and_tt
     83        nop
     84
    6885        wrpr %r0, 0, %pil
    6986
Note: See TracChangeset for help on using the changeset viewer.