Subversion Repositories HelenOS-historic

Rev

Rev 282 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 282 Rev 306
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2005 Martin Decky
2
 * Copyright (C) 2005 Ondrej Palkovsky
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
Line 38... Line 38...
38
 * 16-byte boundary. If it is not, the va_arg calling will
38
 * 16-byte boundary. If it is not, the va_arg calling will
39
 * panic sooner or later
39
 * panic sooner or later
40
 */
40
 */
41
#define SP_DELTA     16
41
#define SP_DELTA     16
42
 
42
 
-
 
43
/* We include only registers that must be preserved
-
 
44
 * during function call
-
 
45
 */
43
struct context {
46
struct context {
44
    __u64 sp;
47
    __u64 sp;
45
    __u64 pc;
48
    __u64 pc;
46
   
49
   
47
    __u64 rbx;
50
    __u64 rbx;