Changeset 1e3c2f1 in mainline


Ignore:
Timestamp:
2010-06-22T21:09:53Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fe7abd0
Parents:
7f0e7b6
Message:

Use gp instead of r1.

Files:
3 edited

Legend:

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

    r7f0e7b6 r1e3c2f1  
    166166        # Initialize gp (Global Pointer) register
    167167        movl r20 = (VRN_KERNEL << VRN_SHIFT) ;;
    168         or r20 = r20, r1 ;;
    169         movl r1 = kernel_image_start
     168        or r20 = r20, gp ;;
     169        movl gp = kernel_image_start
    170170       
    171171        /*
  • uspace/lib/c/arch/ia64/src/entry.s

    r7f0e7b6 r1e3c2f1  
    3939__entry:
    4040        alloc loc0 = ar.pfs, 0, 1, 2, 0
    41         movl r1 = _gp
     41        movl gp = _gp
    4242
    4343        # Pass PCB pointer as the first argument to __main
  • uspace/lib/c/arch/ia64/src/thread_entry.s

    r7f0e7b6 r1e3c2f1  
    3737        alloc loc0 = ar.pfs, 0, 1, 1, 0
    3838
    39         movl r1 = _gp
     39        movl gp = _gp
    4040       
    4141        #
Note: See TracChangeset for help on using the changeset viewer.