Rev 1113 | Rev 1129 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1113 | Rev 1123 | ||
|---|---|---|---|
| Line 29... | Line 29... | ||
| 29 | #ifndef __LIBC__mips32PSTHREAD_H__ |
29 | #ifndef __LIBC__mips32PSTHREAD_H__ |
| 30 | #define __LIBC__mips32PSTHREAD_H__ |
30 | #define __LIBC__mips32PSTHREAD_H__ |
| 31 | 31 | ||
| 32 | #include <types.h> |
32 | #include <types.h> |
| 33 | 33 | ||
| - | 34 | /* +16 is just for sure that the called function |
|
| - | 35 | * have space to store it's arguments |
|
| - | 36 | */ |
|
| 34 | #define SP_DELTA (8) |
37 | #define SP_DELTA (8+16) |
| 35 | 38 | ||
| 36 | typedef struct { |
39 | typedef struct { |
| 37 | uint32_t sp; |
40 | uint32_t sp; |
| 38 | uint32_t pc; |
41 | uint32_t pc; |
| 39 | 42 | ||