Changeset 437ee6a4 in mainline for arch/sparc64/include/asm.h


Ignore:
Timestamp:
2005-10-30T13:49:39Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
df91be5
Parents:
2cd0485d
Message:

sparc64 work.
Add context_save(), context_set() and context_restore().
Remove putchar() definition from ofw.c.
Add sparc64 putchar().
Add ppc32 putchar() (i.e. the original ofw.c putchar()).
Make arg.h use the builtin va_* constructs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/include/asm.h

    r2cd0485d r437ee6a4  
    7979static inline __address get_stack_base(void)
    8080{
     81        __address v;
     82       
     83        __asm__ volatile ("and %%o6, %1, %0\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));
     84       
     85        return v;
    8186}
    8287
Note: See TracChangeset for help on using the changeset viewer.