shadows.c
来自「内核linux2.4.20,可跟rtlinux3.2打补丁 组成实时linux系」· C语言 代码 · 共 37 行
C
37 行
/* $Id: shadows.c,v 1.2 2001/03/15 14:25:16 bjornw Exp $ * * Various shadow registers. Defines for these are in include/asm-etrax100/io.h *//* Shadows for internal Etrax-registers */unsigned long genconfig_shadow;unsigned long port_g_data_shadow;unsigned char port_pa_dir_shadow;unsigned char port_pa_data_shadow;unsigned char port_pb_i2c_shadow;unsigned char port_pb_config_shadow;unsigned char port_pb_dir_shadow;unsigned char port_pb_data_shadow;unsigned long r_timer_ctrl_shadow;/* Shadows for external I/O port registers. * These are only usable if there actually IS a latch connected * to the corresponding external chip-select pin. * * A common usage is that CSP0 controls LED's and CSP4 video chips. */unsigned long port_cse1_shadow;unsigned long port_csp0_shadow;unsigned long port_csp4_shadow;/* Corresponding addresses for the ports. * These are initialized in arch/cris/mm/init.c using ioremap. */volatile unsigned long *port_cse1_addr;volatile unsigned long *port_csp0_addr;volatile unsigned long *port_csp4_addr;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?