Changeset 8565a42 in mainline for uspace/lib/c/arch/ia64


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

Location:
uspace/lib/c/arch/ia64
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia64/_link.ld.in

    r3061bc1 r8565a42  
    1818        . = 0x4000 + SIZEOF_HEADERS;
    1919#endif
    20        
     20
    2121        /* Workaround proper alignment of the .init section */
    2222        . = ALIGN(., 16);
    23        
     23
    2424        .init : {
    2525                *(.init);
    2626        } :text
    27        
     27
    2828        .text : {
    2929                *(.text .text.*);
    3030                *(.rodata .rodata.*);
    3131        } :text
    32        
     32
    3333#ifdef LOADER
    3434        .interp : {
     
    3636        } :interp :text
    3737#endif
    38        
     38
    3939        . = . + 0x4000;
    40        
     40
    4141        .got : {
    4242                /* Tell the linker where we expect GP to point. */
     
    4444                *(.got .got.*);
    4545        } :data
    46        
     46
    4747        .data : {
    4848                *(.opd);
     
    5050                *(.sdata);
    5151        } :data
    52        
     52
    5353        .tdata : {
    5454                _tdata_start = .;
     
    5959                _tbss_end = .;
    6060        } :data
    61        
     61
    6262        _tls_alignment = ALIGNOF(.tdata);
    63        
     63
    6464        .bss : {
    6565                *(.sbss);
     
    6868                *(.bss);
    6969        } :data
    70        
     70
    7171        /DISCARD/ : {
    7272                *(*);
  • uspace/lib/c/arch/ia64/include/libarch/atomic.h

    r3061bc1 r8565a42  
    4343{
    4444        atomic_count_t v;
    45        
     45
    4646        asm volatile (
    4747                "fetchadd8.rel %[v] = %[count], 1\n"
     
    5454{
    5555        atomic_count_t v;
    56        
     56
    5757        asm volatile (
    5858                "fetchadd8.rel %[v] = %[count], -1\n"
     
    6565{
    6666        atomic_count_t v;
    67        
     67
    6868        asm volatile (
    6969                "fetchadd8.rel %[v] = %[count], 1\n"
     
    7171                  [count] "+m" (val->count)
    7272        );
    73        
     73
    7474        return (v + 1);
    7575}
     
    7878{
    7979        atomic_count_t v;
    80        
     80
    8181        asm volatile (
    8282                "fetchadd8.rel %[v] = %[count], -1\n"
     
    8484                  [count] "+m" (val->count)
    8585        );
    86        
     86
    8787        return (v - 1);
    8888}
     
    9191{
    9292        atomic_count_t v;
    93        
     93
    9494        asm volatile (
    9595                "fetchadd8.rel %[v] = %[count], 1\n"
     
    9797                  [count] "+m" (val->count)
    9898        );
    99        
     99
    100100        return v;
    101101}
     
    104104{
    105105        atomic_count_t v;
    106        
     106
    107107        asm volatile (
    108108                "fetchadd8.rel %[v] = %[count], -1\n"
     
    110110                  [count] "+m" (val->count)
    111111        );
    112        
     112
    113113        return v;
    114114}
  • uspace/lib/c/arch/ia64/src/ddi.c

    r3061bc1 r8565a42  
    3636        if (sysinfo_get_value("ia64_iospace.address.virtual", &addr) != 0)
    3737                addr = 0;
    38        
     38
    3939        return addr;
    4040}
  • uspace/lib/c/arch/ia64/src/entry.S

    r3061bc1 r8565a42  
    4040        alloc loc0 = ar.pfs, 0, 1, 2, 0
    4141        movl gp = __gp
    42        
     42
    4343        # Pass PCB pointer as the first argument to __main
    4444        mov out0 = r2 ;;
  • uspace/lib/c/arch/ia64/src/fibril.S

    r3061bc1 r8565a42  
    4545        flushrs
    4646        mov loc4 = ar.bsp
    47        
     47
    4848        /*
    4949         * Put RSE to enforced lazy mode.
     
    117117
    118118        mov loc2 = ar.unat
    119        
     119
    120120        /*
    121121         * Save application registers
     
    177177
    178178        mov ar.unat = loc1
    179        
     179
    180180        add r8 = r0, r0, 1      /* context_save returns 1 */
    181181        br.ret.sptk.many b0
     
    239239        ld8 loc5 = [loc14]      /* load ar.rnat */
    240240        ld8 loc6 = [loc15]      /* load ar.lc */
    241        
     241
    242242        .auto
    243243
     
    274274        mov ar.unat = loc2 ;;
    275275        mov ar.lc = loc6
    276        
     276
    277277        /*
    278278         * Restore general registers including NaT bits
     
    332332        ldf.fill f30 = [loc48]
    333333        ldf.fill f31 = [loc49]
    334        
     334
    335335        mov ar.unat = loc1
    336        
     336
    337337        mov r8 = r0                     /* context_restore returns 0 */
    338338        br.ret.sptk.many b0
  • uspace/lib/c/arch/ia64/src/thread_entry.S

    r3061bc1 r8565a42  
    3838
    3939        movl gp = __gp
    40        
     40
    4141        #
    4242        # r8 contains address of uarg structure.
    4343        #
    44        
     44
    4545        mov out0 = r8 ;;
    4646        br.call.sptk.many b0 = __thread_main
    47        
     47
    4848        #
    4949        # Not reached.
Note: See TracChangeset for help on using the changeset viewer.