Rev 528 | Rev 532 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 528 | Rev 529 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #include <arch/context_offset.h> |
29 | #include <arch/context_offset.h> |
30 | #include <arch/stack.h> |
30 | #include <arch/stack.h> |
31 | 31 | ||
32 | /** |
32 | /** |
33 | * Both context_save_arch() and context_restore_arch() are |
33 | * Both context_save_arch() and context_restore_arch() are |
34 | * leaf-optimized procedures. Both of them touch %sp and |
34 | * leaf-optimized procedures. This kind of optimization |
35 | * %fp and thus break SCD 2.4 compliance. However, these |
- | |
36 | * functions are special enough to be allowed this |
- | |
37 | * kind of behavior. Moreover, this kind of optimization |
- | |
38 | * is very important and prevents any window spill/ |
35 | * is very important and prevents any implicit window |
39 | * fill/clean traps in these very core kernel functions. |
36 | * spill/fill/clean traps in these very core kernel |
- | 37 | * functions. |
|
40 | */ |
38 | */ |
41 | 39 | ||
42 | .text |
40 | .text |
43 | 41 | ||
44 | .global context_save_arch |
42 | .global context_save_arch |