frame.h (1051) | frame.h (1549) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 86 unchanged lines hidden (view full) --- 95 int if_eip; 96 int if_cs; 97 int if_eflags; 98 /* below only when transitting rings (e.g. user to kernel) */ 99 int if_esp; 100 int if_ss; 101}; 102 | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 86 unchanged lines hidden (view full) --- 95 int if_eip; 96 int if_cs; 97 int if_eflags; 98 /* below only when transitting rings (e.g. user to kernel) */ 99 int if_esp; 100 int if_ss; 101}; 102 |
103/* frame of clock (same as interrupt frame) */ 104 105struct clockframe { 106 int cf_vec; 107 int cf_ppl; 108 int cf_es; 109 int cf_ds; 110 int cf_edi; 111 int cf_esi; 112 int cf_ebp; 113 int :32; 114 int cf_ebx; 115 int cf_edx; 116 int cf_ecx; 117 int cf_eax; 118 int :32; /* for compat with trap frame - trapno */ 119 int :32; /* for compat with trap frame - err */ 120 /* below portion defined in 386 hardware */ 121 int cf_eip; 122 int cf_cs; 123 int cf_eflags; 124 /* below only when transitting rings (e.g. user to kernel) */ 125 int cf_esp; 126 int cf_ss; 127}; 128 |
|
103/* 104 * Signal frame 105 */ 106struct sigframe { 107 int sf_signum; 108 int sf_code; 109 struct sigcontext *sf_scp; 110 char *sf_addr; 111 sig_t sf_handler; 112 struct sigcontext sf_sc; 113}; 114#endif /* _MACHINE_FRAME_H_ */ | 129/* 130 * Signal frame 131 */ 132struct sigframe { 133 int sf_signum; 134 int sf_code; 135 struct sigcontext *sf_scp; 136 char *sf_addr; 137 sig_t sf_handler; 138 struct sigcontext sf_sc; 139}; 140#endif /* _MACHINE_FRAME_H_ */ |