patch-2.1.4 linux/include/asm-alpha/processor.h
Next file: linux/include/asm-alpha/segment.h
Previous file: linux/include/asm-alpha/posix_types.h
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
Mon Oct 14 11:52:00 1996
- Orig file:
v2.1.3/linux/include/asm-alpha/processor.h
- Orig date:
Thu Oct 10 19:10:57 1996
diff -u --recursive --new-file v2.1.3/linux/include/asm-alpha/processor.h linux/include/asm-alpha/processor.h
@@ -8,7 +8,7 @@
#define __ASM_ALPHA_PROCESSOR_H
/*
- * We have a 41-bit user address space: 2TB user VM...
+ * We have a 42-bit user address space: 4TB user VM...
*/
#define TASK_SIZE (0x40000000000UL)
@@ -21,31 +21,14 @@
#define MCA_bus__is_a_macro /* for versions in ksyms.c */
/*
- * The VM exception save area. We need to save
- * return address (r26)
- * PC (r30)
- * function-call-saved regs (r9-r15)
- * Count is used to do some basic sanity checking, and
- * to handle the case where a kernel service itself sets
- * up exceptions while another exception is active.
- *
- * NOTE: Exceptions are not "recursive": in the case above
- * the oldest exception is the one that is left active, but
- * the VM fault handler will notice a count != 1 and abort
- * because exceptions within exceptions are an error.
+ * The VM exception save area. We need to save only the
+ * exception count, so that the exception handling can know
+ * whether the system is set up to handle exceptions..
*/
struct exception_struct {
unsigned long count;
- unsigned long r9, r10, r11, r12, r13, r14, r15;
- unsigned long r26, r30;
};
-extern int __exception(struct exception_struct *);
-extern void __handle_exception(struct exception_struct *) __attribute__((noreturn));
-
-#define exception() __exception(¤t->tss.ex)
-#define end_exception() (current->tss.ex.count--)
-
struct thread_struct {
/* the fields below are used by PALcode and must match struct pcb: */
unsigned long ksp;
@@ -78,7 +61,7 @@
0, 0, 0, \
0, 0, 0, \
0, \
- { 0, } \
+ { 0 } \
}
#define alloc_kernel_stack() __get_free_page(GFP_KERNEL)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov