patch-2.4.6 linux/include/asm-sh/processor.h
Next file: linux/include/asm-sh/rtc.h
Previous file: linux/include/asm-sh/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Wed Jun 27 13:55:29 2001
- Orig file:
v2.4.5/linux/include/asm-sh/processor.h
- Orig date:
Wed Apr 11 21:24:52 2001
diff -u --recursive --new-file v2.4.5/linux/include/asm-sh/processor.h linux/include/asm-sh/processor.h
@@ -23,7 +23,7 @@
enum cpu_type {
CPU_SH7708, /* Represents 7707, 7708, 7708S, 7708R, 7709 */
CPU_SH7729, /* Represents 7709A, 7729 */
- CPU_SH7750,
+ CPU_SH7750, /* Represents 7750, 7751 */
CPU_ST40STB1,
CPU_SH_NONE
};
@@ -38,6 +38,9 @@
unsigned long *pte_quick;
unsigned long pgtable_cache_sz;
unsigned int cpu_clock, master_clock, bus_clock, module_clock;
+#ifdef CONFIG_CPU_SUBTYPE_ST40STB1
+ unsigned int memory_clock;
+#endif
};
extern struct sh_cpuinfo boot_cpu_data;
@@ -76,7 +79,7 @@
struct sh_fpu_hard_struct {
unsigned long fp_regs[16];
- unsigned long long xd_regs[8];
+ unsigned long xfp_regs[16];
unsigned long fpscr;
unsigned long fpul;
@@ -86,7 +89,7 @@
/* Dummy fpu emulator */
struct sh_fpu_soft_struct {
unsigned long fp_regs[16];
- unsigned long long xd_regs[8];
+ unsigned long xfp_regs[16];
unsigned long fpscr;
unsigned long fpul;
@@ -112,7 +115,7 @@
};
#define INIT_MMAP \
-{ &init_mm, 0x80000000, 0xa0000000, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL }
+{ &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL }
#define INIT_THREAD { \
sizeof(init_stack) + (long) &init_stack, /* sp */ \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)