frame.h (4eed0cf1be7eded41730bb71f1809e09b5a0890b) | frame.h (b57e802a8521cd90a2f8e3f2612ac107ac9a3591) |
---|---|
1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 76 unchanged lines hidden (view full) --- 85 * Call frame for PowerPC used during fork. 86 */ 87struct callframe { 88 register_t cf_func; 89 register_t cf_arg0; 90 register_t cf_arg1; 91}; 92 | 1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 76 unchanged lines hidden (view full) --- 85 * Call frame for PowerPC used during fork. 86 */ 87struct callframe { 88 register_t cf_func; 89 register_t cf_arg0; 90 register_t cf_arg1; 91}; 92 |
93#define IFRAMELEN sizeof(struct intrframe) 94struct intrframe { 95 register_t r1; /* 0 */ 96 register_t _pad4; /* 4 */ 97 /* 98 * The next 4 fields are "clockframe" 99 */ 100 register_t srr1; /* 8 */ 101 register_t srr0; /* 12 */ 102 int pri; /* 16 */ 103 int intr_depth; /* 20 */ 104 register_t vrsave; /* 24 */ 105 register_t ctr; /* 28 */ 106 register_t xer; /* 32 */ 107 register_t cr; /* 36 */ 108 register_t lr; /* 40 */ 109 register_t r12; /* 44 */ 110 register_t r11; /* 48 */ 111 register_t r10; /* 52 */ 112 register_t r9; /* 56 */ 113 register_t r8; /* 60 */ 114 register_t r7; /* 64 */ 115 register_t r6; /* 68 */ 116 register_t r5; /* 72 */ 117 register_t r4; /* 76 */ 118 register_t r3; /* 80 */ 119 register_t r0; /* 84 */ 120}; 121 122#define SPFRAMELEN sizeof(struct spillframe) 123struct spillframe { 124 register_t r1; /* 0 */ 125 register_t _pad4; /* 4 */ 126 register_t r12; /* 8 */ 127 register_t r11; /* 12 */ 128 register_t r10; /* 16 */ 129 register_t r9; /* 20 */ 130 register_t r8; /* 24 */ 131 register_t r7; /* 28 */ 132 register_t r6; /* 32 */ 133 register_t r5; /* 36 */ 134 register_t r4; /* 40 */ 135 register_t r3; /* 44 */ 136 register_t r0; /* 48 */ 137}; 138 |
|
93#endif /* _MACHINE_FRAME_H_ */ | 139#endif /* _MACHINE_FRAME_H_ */ |