[CVE-2009-0029] System call wrappers part 23
[linux/fpc-iii.git] / include / asm-m68k / machw.h
blob2b4de0c2ce4a0a49c9cb5aec1fc48cea7378e22b
1 /*
2 ** linux/machw.h -- This header defines some macros and pointers for
3 ** the various Macintosh custom hardware registers.
4 **
5 ** Copyright 1997 by Michael Schmitz
6 **
7 ** This file is subject to the terms and conditions of the GNU General Public
8 ** License. See the file COPYING in the main directory of this archive
9 ** for more details.
13 #ifndef _ASM_MACHW_H_
14 #define _ASM_MACHW_H_
17 * head.S maps the videomem to VIDEOMEMBASE
20 #define VIDEOMEMBASE 0xf0000000
21 #define VIDEOMEMSIZE (4096*1024)
22 #define VIDEOMEMMASK (-4096*1024)
24 #ifndef __ASSEMBLY__
26 #include <linux/types.h>
28 #if 0
30 ** SCC Z8530
33 #define MAC_SCC_BAS (0x50F04000)
34 struct MAC_SCC
36 u_char cha_a_ctrl;
37 u_char char_dummy1;
38 u_char cha_a_data;
39 u_char char_dummy2;
40 u_char cha_b_ctrl;
41 u_char char_dummy3;
42 u_char cha_b_data;
44 # define mac_scc ((*(volatile struct SCC*)MAC_SCC_BAS))
45 #endif
47 #endif /* __ASSEMBLY__ */
49 #endif /* linux/machw.h */