cpu-info.h (ab7c01fdc3cfe02256e777a36366b70e2a539c27) cpu-info.h (ec7a93188a75b57b9f704db6862e7137f01aa80b)
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994 Waldorf GMBH
7 * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003 Ralf Baechle
8 * Copyright (C) 1996 Paul M. Antoine

--- 91 unchanged lines hidden (view full) ---

100 */
101 unsigned int htw_seq;
102
103 /* VZ & Guest features */
104 struct guest_info guest;
105 unsigned int gtoffset_mask;
106 unsigned int guestid_mask;
107 unsigned int guestid_cache;
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1994 Waldorf GMBH
7 * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003 Ralf Baechle
8 * Copyright (C) 1996 Paul M. Antoine

--- 91 unchanged lines hidden (view full) ---

100 */
101 unsigned int htw_seq;
102
103 /* VZ & Guest features */
104 struct guest_info guest;
105 unsigned int gtoffset_mask;
106 unsigned int guestid_mask;
107 unsigned int guestid_cache;
108
109#ifdef CONFIG_CPU_LOONGSON3_CPUCFG_EMULATION
110 /* CPUCFG data for this CPU, synthesized at probe time.
111 *
112 * CPUCFG select 0 is PRId, 4 and above are unimplemented for now.
113 * So the only stored values are for CPUCFG selects 1-3 inclusive.
114 */
115 u32 loongson3_cpucfg_data[3];
116#endif
108} __attribute__((aligned(SMP_CACHE_BYTES)));
109
110extern struct cpuinfo_mips cpu_data[];
111#define current_cpu_data cpu_data[smp_processor_id()]
112#define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
113#define boot_cpu_data cpu_data[0]
114
115extern void cpu_probe(void);

--- 95 unchanged lines hidden ---
117} __attribute__((aligned(SMP_CACHE_BYTES)));
118
119extern struct cpuinfo_mips cpu_data[];
120#define current_cpu_data cpu_data[smp_processor_id()]
121#define raw_current_cpu_data cpu_data[raw_smp_processor_id()]
122#define boot_cpu_data cpu_data[0]
123
124extern void cpu_probe(void);

--- 95 unchanged lines hidden ---