Rev 1864 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1864 | Rev 2061 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | # |
27 | # |
28 | 28 | ||
29 | #include <libarch/context_offset.h> |
29 | #include <libarch/context_offset.h> |
30 | 30 | ||
31 | /** |
- | |
32 | * Both context_save_arch() and context_restore_arch() are |
- | |
33 | * leaf-optimized procedures. This kind of optimization |
- | |
34 | * is very important and prevents any implicit window |
- | |
35 | * spill/fill/clean traps in these very core kernel |
- | |
36 | * functions. |
- | |
37 | */ |
- | |
38 | - | ||
39 | .text |
31 | .text |
40 | 32 | ||
41 | .global context_save |
33 | .global context_save |
42 | .global context_restore |
34 | .global context_restore |
43 | 35 |