patch-2.1.9 linux/include/asm-sparc/timer.h
Next file: linux/include/asm-sparc/traps.h
Previous file: linux/include/asm-sparc/termios.h
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
Sat Nov 9 22:36:13 1996
- Orig file:
v2.1.8/linux/include/asm-sparc/timer.h
- Orig date:
Sun Apr 21 12:30:34 1996
diff -u --recursive --new-file v2.1.8/linux/include/asm-sparc/timer.h linux/include/asm-sparc/timer.h
@@ -1,4 +1,4 @@
-/* $Id: timer.h,v 1.12 1996/03/24 20:21:29 davem Exp $
+/* $Id: timer.h,v 1.13 1996/08/29 09:48:59 davem Exp $
* timer.h: Definitions for the timer chips on the Sparc.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -24,10 +24,10 @@
*/
struct sun4c_timer_info {
- volatile unsigned int cur_count10;
- volatile unsigned int timer_limit10;
- volatile unsigned int cur_count14;
- volatile unsigned int timer_limit14;
+ __volatile__ unsigned int cur_count10;
+ __volatile__ unsigned int timer_limit10;
+ __volatile__ unsigned int cur_count14;
+ __volatile__ unsigned int timer_limit14;
};
#define SUN4C_TIMER_PHYSADDR 0xf3000000
@@ -47,16 +47,16 @@
#define SUN4M_PRM_CNT_LVALUE 0x7FFFFC00
struct sun4m_timer_percpu_info {
- volatile unsigned int l14_timer_limit; /* Initial value is 0x009c4000 */
- volatile unsigned int l14_cur_count;
+ __volatile__ unsigned int l14_timer_limit; /* Initial value is 0x009c4000 */
+ __volatile__ unsigned int l14_cur_count;
/* This register appears to be write only and/or inaccessible
* on Uni-Processor sun4m machines.
*/
- volatile unsigned int l14_limit_noclear; /* Data access error is here */
+ __volatile__ unsigned int l14_limit_noclear; /* Data access error is here */
- volatile unsigned int cntrl; /* =1 after POST on Aurora */
- volatile unsigned char space[PAGE_SIZE - 16];
+ __volatile__ unsigned int cntrl; /* =1 after POST on Aurora */
+ __volatile__ unsigned char space[PAGE_SIZE - 16];
};
struct sun4m_timer_regs {
@@ -76,7 +76,7 @@
};
extern struct sun4m_timer_regs *sun4m_timers;
-extern volatile unsigned int *master_l10_counter;
-extern volatile unsigned int *master_l10_limit;
+extern __volatile__ unsigned int *master_l10_counter;
+extern __volatile__ unsigned int *master_l10_limit;
#endif /* !(_SPARC_TIMER_H) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov