Changeset 1fbbcd6 in mainline for arch/ia64/include/asm.h
- Timestamp:
- 2005-08-29T20:31:23Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 81887b7
- Parents:
- 4dd0704
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/asm.h
r4dd0704 r1fbbcd6 33 33 #include <config.h> 34 34 35 /* TODO: implement the real stuff */ 35 /** Return base address of current stack 36 * 37 * Return the base address of the current stack. 38 * The stack is assumed to be STACK_SIZE long. 39 * The stack must start on page boundary. 40 */ 36 41 static inline __address get_stack_base(void) 37 42 { 38 return NULL; 43 __u64 v; 44 45 __asm__ volatile ("and %0 = %1, r12" : "=r" (v) : "r" (~(STACK_SIZE-1))); 46 47 return v; 39 48 } 40 49
Note:
See TracChangeset
for help on using the changeset viewer.