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


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 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/sparc64
Files:
6 edited

Legend:

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

    r3061bc1 r8565a42  
    1919        . = 0x4000 + SIZEOF_HEADERS;
    2020#endif
    21        
     21
    2222        .init : {
    2323                *(.init);
    2424        } :text
    25        
     25
    2626        .text : {
    2727                *(.text .text.*);
    2828                *(.rodata .rodata.*);
    2929        } :text
    30        
     30
    3131#ifdef LOADER
    3232        .interp : {
     
    3434        } :interp :text
    3535#endif
    36        
     36
    3737        . = . + 0x4000;
    38        
     38
    3939        .got : {
    4040                 _gp = .;
    4141                 *(.got*);
    4242        } :data
    43        
     43
    4444        .data : {
    4545                *(.data);
    4646                *(.sdata);
    4747        } :data
    48        
     48
    4949        .tdata : {
    5050                _tdata_start = .;
     
    5555                _tbss_end = .;
    5656        } :data
    57        
     57
    5858        _tls_alignment = ALIGNOF(.tdata);
    59        
     59
    6060        .bss : {
    6161                *(.sbss);
     
    6363                *(.bss);
    6464        } :data
    65        
     65
    6666#ifdef CONFIG_LINE_DEBUG
    6767        .comment 0 : { *(.comment); } :debug
     
    7676        .debug_str 0 : { *(.debug_str); } :debug
    7777#endif
    78        
     78
    7979        /DISCARD/ : {
    8080                *(*);
  • uspace/lib/c/arch/sparc64/include/libarch/atomic.h

    r3061bc1 r8565a42  
    5555        atomic_count_t a;
    5656        atomic_count_t b;
    57        
     57
    5858        do {
    5959                volatile uintptr_t ptr = (uintptr_t) &val->count;
    60                
     60
    6161                a = *((atomic_count_t *) ptr);
    6262                b = a + i;
    63                
     63
    6464                asm volatile (
    6565                        "casx %0, %2, %1\n"
     
    6969                );
    7070        } while (a != b);
    71        
     71
    7272        return a;
    7373}
  • uspace/lib/c/arch/sparc64/include/libarch/syscall.h

    r3061bc1 r8565a42  
    6666                : "memory"
    6767        );
    68        
     68
    6969        return a1;
    7070}
  • uspace/lib/c/arch/sparc64/src/entry.S

    r3061bc1 r8565a42  
    4545        flushw
    4646        add %g0, -0x7ff, %fp
    47        
     47
    4848        # Pass pcb_ptr as the first argument to __main()
    4949        mov %i1, %o0
  • uspace/lib/c/arch/sparc64/src/fibril.S

    r3061bc1 r8565a42  
    6868        #
    6969        flushw
    70        
     70
    7171        ldx [%o0 + CONTEXT_OFFSET_SP], %sp
    7272        ldx [%o0 + CONTEXT_OFFSET_PC], %o7
  • uspace/lib/c/arch/sparc64/src/thread_entry.S

    r3061bc1 r8565a42  
    3030
    3131.text
    32        
     32
    3333## User-space thread entry point for all but the first threads.
    3434#
     
    5050        call __thread_main              ! %o0 contains address of uarg
    5151        or %l7, %lo(_gp), %l7
    52        
     52
    5353        ! not reached
Note: See TracChangeset for help on using the changeset viewer.