Changeset cc85fb9 in mainline for kernel/arch/sparc64/src/proc


Ignore:
Timestamp:
2007-04-19T18:23:31Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b662f8c
Parents:
4365d10
Message:

Indentation and formatting fixes.

Location:
kernel/arch/sparc64/src/proc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/proc/scheduler.c

    r4365d10 rcc85fb9  
    6363                 *   before it explicitly uses %g7.
    6464                 */
    65                 uint64_t sp = (uintptr_t) THREAD->kstack + STACK_SIZE
    66                         - (STACK_BIAS + ALIGN_UP(STACK_ITEM_SIZE,
    67                         STACK_ALIGNMENT));
     65                uint64_t sp = (uintptr_t) THREAD->kstack + STACK_SIZE -
     66                    (STACK_BIAS + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT));
    6867                write_to_ig_g6(sp);
    6968                write_to_ag_g6(sp);
  • kernel/arch/sparc64/src/proc/thread.c

    r4365d10 rcc85fb9  
    5656                 */
    5757                frame_free(KA2PA(ALIGN_DOWN((uintptr_t)
    58                         t->arch.uspace_window_buffer, PAGE_SIZE)));
     58                    t->arch.uspace_window_buffer, PAGE_SIZE)));
    5959        }
    6060}
     
    7676                 * belonging to a killed thread.
    7777                 */
    78                  t->arch.uspace_window_buffer = (uint8_t *) ALIGN_DOWN(uw_buf,
    79                         PAGE_SIZE);
     78                t->arch.uspace_window_buffer = (uint8_t *) ALIGN_DOWN(uw_buf,
     79                    PAGE_SIZE);
    8080        }
    8181}
Note: See TracChangeset for help on using the changeset viewer.