Go to the documentation of this file.
12 #ifndef _ASM_SH_IO_SNAPGEAR_H
13 #define _ASM_SH_IO_SNAPGEAR_H
15 #define __IO_PREFIX snapgear
40 #define SECUREEDGE_IOPORT_ADDR ((volatile short *) 0xb0000000)
43 #define SECUREEDGE_WRITE_IOPORT(val, mask) (*SECUREEDGE_IOPORT_ADDR = \
44 (secureedge5410_ioport = \
45 ((secureedge5410_ioport & ~(mask)) | ((val) & (mask)))))
46 #define SECUREEDGE_READ_IOPORT() \
47 ((*SECUREEDGE_IOPORT_ADDR&0x0817) | (secureedge5410_ioport&~0x0817))