Changeset 45b26dad in mainline for kernel/arch/sparc64/src/start.S


Ignore:
Timestamp:
2006-09-26T12:59:28Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b44939b
Parents:
6ff1f1e
Message:

sparc64 work:

  • Loader now starts all processors.
  • Kernel halts all but the bootstrup processor for now.
  • Read clock-frequency from the respective processor node in the device tree
File:
1 edited

Legend:

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

    r6ff1f1e r45b26dad  
    4444 *
    4545 * The registers are expected to be in this state:
    46  * - %o0 bootinfo structure address
    47  * - %o1 bootinfo structure size
     46 * - %o0 non-zero for the bootstrup processor, zero for application/secondary processors
     47 * - %o1 bootinfo structure address
     48 * - %o2 bootinfo structure size
    4849 *
    4950 * Moreover, we depend on boot having established the
     
    5657.global kernel_image_start
    5758kernel_image_start:
     59        brz %o0, kernel_image_start             ! block secondary processors
     60        nop
    5861
    5962        /*
     
    7376         * to the kernel bootinfo structure.
    7477         */
    75         mov %o1, %o2
    76         mov %o0, %o1
    7778        sethi %hi(bootinfo), %o0
    7879        call memcpy
Note: See TracChangeset for help on using the changeset viewer.