GC some unused frame types.

Approved by:	grehan
This commit is contained in:
jhb 2005-12-16 22:07:41 +00:00
parent 8df8bb9f23
commit 963dea2ab7
2 changed files with 0 additions and 94 deletions

View File

@ -65,15 +65,6 @@ struct trapframe {
#define FRAMELEN roundup(sizeof(struct trapframe) + 8, 16)
#define trapframe(td) ((td)->td_frame)
struct switchframe {
register_t sp;
register_t fill;
register_t user_sr;
register_t cr;
register_t fixreg2;
register_t fixreg[19]; /* R13-R31 */
};
struct clockframe {
register_t srr1;
register_t srr0;
@ -92,52 +83,6 @@ struct callframe {
register_t cf_arg1;
};
#define IFRAMELEN sizeof(struct intrframe)
struct intrframe {
register_t r1; /* 0 */
register_t _pad4; /* 4 */
/*
* The next 4 fields are "clockframe"
*/
register_t srr1; /* 8 */
register_t srr0; /* 12 */
int pri; /* 16 */
int intr_depth; /* 20 */
register_t vrsave; /* 24 */
register_t ctr; /* 28 */
register_t xer; /* 32 */
register_t cr; /* 36 */
register_t lr; /* 40 */
register_t r12; /* 44 */
register_t r11; /* 48 */
register_t r10; /* 52 */
register_t r9; /* 56 */
register_t r8; /* 60 */
register_t r7; /* 64 */
register_t r6; /* 68 */
register_t r5; /* 72 */
register_t r4; /* 76 */
register_t r3; /* 80 */
register_t r0; /* 84 */
};
#define SPFRAMELEN sizeof(struct spillframe)
struct spillframe {
register_t r1; /* 0 */
register_t _pad4; /* 4 */
register_t r12; /* 8 */
register_t r11; /* 12 */
register_t r10; /* 16 */
register_t r9; /* 20 */
register_t r8; /* 24 */
register_t r7; /* 28 */
register_t r6; /* 32 */
register_t r5; /* 36 */
register_t r4; /* 40 */
register_t r3; /* 44 */
register_t r0; /* 48 */
};
/* Definitions for syscalls */
#define FIRSTARG 3 /* first arg in reg 3 */
#define NARGREG 8 /* 8 args in regs */

View File

@ -122,45 +122,6 @@ ASSYM(FRAME_DAR, offsetof(struct trapframe, dar));
ASSYM(FRAME_DSISR, offsetof(struct trapframe, dsisr));
ASSYM(FRAME_EXC, offsetof(struct trapframe, exc));
ASSYM(SFRAMELEN, roundup(sizeof(struct switchframe), 16));
ASSYM(IFRAMELEN, IFRAMELEN);
ASSYM(IFRAME_R1, offsetof(struct intrframe, r1));
ASSYM(IFRAME_SRR1, offsetof(struct intrframe, srr1));
ASSYM(IFRAME_SRR0, offsetof(struct intrframe, srr0));
ASSYM(IFRAME_PRI, offsetof(struct intrframe, pri));
ASSYM(IFRAME_INTR_DEPTH, offsetof(struct intrframe, intr_depth));
ASSYM(IFRAME_VRSAVE, offsetof(struct intrframe, vrsave));
ASSYM(IFRAME_CTR, offsetof(struct intrframe, ctr));
ASSYM(IFRAME_XER, offsetof(struct intrframe, xer));
ASSYM(IFRAME_CR, offsetof(struct intrframe, cr));
ASSYM(IFRAME_LR, offsetof(struct intrframe, lr));
ASSYM(IFRAME_R12, offsetof(struct intrframe, r12));
ASSYM(IFRAME_R11, offsetof(struct intrframe, r11));
ASSYM(IFRAME_R10, offsetof(struct intrframe, r10));
ASSYM(IFRAME_R9, offsetof(struct intrframe, r9));
ASSYM(IFRAME_R8, offsetof(struct intrframe, r8));
ASSYM(IFRAME_R7, offsetof(struct intrframe, r7));
ASSYM(IFRAME_R6, offsetof(struct intrframe, r6));
ASSYM(IFRAME_R5, offsetof(struct intrframe, r5));
ASSYM(IFRAME_R4, offsetof(struct intrframe, r4));
ASSYM(IFRAME_R3, offsetof(struct intrframe, r3));
ASSYM(IFRAME_R0, offsetof(struct intrframe, r0));
ASSYM(SPFRAMELEN, SPFRAMELEN);
ASSYM(SPFRAME_R1, offsetof(struct spillframe, r1));
ASSYM(SPFRAME_R12, offsetof(struct spillframe, r12));
ASSYM(SPFRAME_R11, offsetof(struct spillframe, r11));
ASSYM(SPFRAME_R10, offsetof(struct spillframe, r10));
ASSYM(SPFRAME_R9, offsetof(struct spillframe, r9));
ASSYM(SPFRAME_R8, offsetof(struct spillframe, r8));
ASSYM(SPFRAME_R7, offsetof(struct spillframe, r7));
ASSYM(SPFRAME_R6, offsetof(struct spillframe, r6));
ASSYM(SPFRAME_R5, offsetof(struct spillframe, r5));
ASSYM(SPFRAME_R4, offsetof(struct spillframe, r4));
ASSYM(SPFRAME_R3, offsetof(struct spillframe, r3));
ASSYM(SPFRAME_R0, offsetof(struct spillframe, r0));
ASSYM(CF_FUNC, offsetof(struct callframe, cf_func));
ASSYM(CF_ARG0, offsetof(struct callframe, cf_arg0));
ASSYM(CF_ARG1, offsetof(struct callframe, cf_arg1));