Changeset 7f1bfce in mainline for arch/ia64/src/start.S


Ignore:
Timestamp:
2005-05-17T20:46:19Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b96ab44
Parents:
87be9cfb
Message:

Add SP_DELTA macro for each architecture.
On IA-32, this macro represents two doublewords that must be on the stack when switching to a new stack.
On MIPS, there is no need to fix sp when switching to a new stack.
On IA-64, this macro is used to allocate the 16-byte scratch area.

IA-64 work.
Changes in start.S. More changes to come.
Define memcopy().

Janitorial fixes.
Add missing #include <panic.h> to rwlock4/test.c.
Remove wrong use of inline keyword from both declaration and definition of l_apic_id().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/start.S

    r87be9cfb r7f1bfce  
    3535stack0:
    3636kernel_image_start:
     37        .auto
     38        # initialize PSR
     39        mov psr.l = r0
     40       
    3741        # initialize register stack
    38         alloc r1 = ar.pfs, 0, 0, 0, 0   ;;
     42        mov ar.rsc = r0
     43        loadrs
    3944
     45        .explicit
    4046        # initialize memory stack to some sane value
    41         movl r12=stack0
     47        movl r12 = stack0       ;;
     48        add r12 = - 16, r12     /* allocate a scratch area on the stack */
    4249
    4350        # initialize gp (Global Pointer) register
Note: See TracChangeset for help on using the changeset viewer.