Go to the documentation of this file.
9 #include <asm/pgalloc.h>
15 #define IRONGATE_HAE_ADDRESS (&alpha_mv.hae_cache)
16 #define MARVEL_HAE_ADDRESS (&alpha_mv.hae_cache)
17 #define POLARIS_HAE_ADDRESS (&alpha_mv.hae_cache)
18 #define TSUNAMI_HAE_ADDRESS (&alpha_mv.hae_cache)
19 #define TITAN_HAE_ADDRESS (&alpha_mv.hae_cache)
20 #define WILDFIRE_HAE_ADDRESS (&alpha_mv.hae_cache)
22 #ifdef CIA_ONE_HAE_WINDOW
23 #define CIA_HAE_ADDRESS (&alpha_mv.hae_cache)
25 #ifdef MCPCIA_ONE_HAE_WINDOW
26 #define MCPCIA_HAE_ADDRESS (&alpha_mv.hae_cache)
28 #ifdef T2_ONE_HAE_WINDOW
29 #define T2_HAE_ADDRESS (&alpha_mv.hae_cache)
35 #define JENSEN_IACK_SC 1
37 #define WILDFIRE_IACK_SC 1
43 #define CAT1(x,y) x##y
44 #define CAT(x,y) CAT1(x,y)
46 #define DO_DEFAULT_RTC \
48 .rtc_get_time = common_get_rtc_time, \
49 .rtc_set_time = common_set_rtc_time
52 .max_asn = EV4_MAX_ASN, \
53 .mv_switch_mm = ev4_switch_mm, \
54 .mv_activate_mm = ev4_activate_mm, \
55 .mv_flush_tlb_current = ev4_flush_tlb_current, \
56 .mv_flush_tlb_current_page = ev4_flush_tlb_current_page
59 .max_asn = EV5_MAX_ASN, \
60 .mv_switch_mm = ev5_switch_mm, \
61 .mv_activate_mm = ev5_activate_mm, \
62 .mv_flush_tlb_current = ev5_flush_tlb_current, \
63 .mv_flush_tlb_current_page = ev5_flush_tlb_current_page
66 .max_asn = EV6_MAX_ASN, \
67 .mv_switch_mm = ev5_switch_mm, \
68 .mv_activate_mm = ev5_activate_mm, \
69 .mv_flush_tlb_current = ev5_flush_tlb_current, \
70 .mv_flush_tlb_current_page = ev5_flush_tlb_current_page
73 .max_asn = EV6_MAX_ASN, \
74 .mv_switch_mm = ev5_switch_mm, \
75 .mv_activate_mm = ev5_activate_mm, \
76 .mv_flush_tlb_current = ev5_flush_tlb_current, \
77 .mv_flush_tlb_current_page = ev5_flush_tlb_current_page
79 #define IO_LITE(UP,low) \
80 .hae_register = (unsigned long *) CAT(UP,_HAE_ADDRESS), \
81 .iack_sc = CAT(UP,_IACK_SC), \
82 .mv_ioread8 = CAT(low,_ioread8), \
83 .mv_ioread16 = CAT(low,_ioread16), \
84 .mv_ioread32 = CAT(low,_ioread32), \
85 .mv_iowrite8 = CAT(low,_iowrite8), \
86 .mv_iowrite16 = CAT(low,_iowrite16), \
87 .mv_iowrite32 = CAT(low,_iowrite32), \
88 .mv_readb = CAT(low,_readb), \
89 .mv_readw = CAT(low,_readw), \
90 .mv_readl = CAT(low,_readl), \
91 .mv_readq = CAT(low,_readq), \
92 .mv_writeb = CAT(low,_writeb), \
93 .mv_writew = CAT(low,_writew), \
94 .mv_writel = CAT(low,_writel), \
95 .mv_writeq = CAT(low,_writeq), \
96 .mv_ioportmap = CAT(low,_ioportmap), \
97 .mv_ioremap = CAT(low,_ioremap), \
98 .mv_iounmap = CAT(low,_iounmap), \
99 .mv_is_ioaddr = CAT(low,_is_ioaddr), \
100 .mv_is_mmio = CAT(low,_is_mmio) \
104 .pci_ops = &CAT(low,_pci_ops), \
105 .mv_pci_tbi = CAT(low,_pci_tbi)
107 #define DO_APECS_IO IO(APECS,apecs)
108 #define DO_CIA_IO IO(CIA,cia)
109 #define DO_IRONGATE_IO IO(IRONGATE,irongate)
110 #define DO_LCA_IO IO(LCA,lca)
111 #define DO_MARVEL_IO IO(MARVEL,marvel)
112 #define DO_MCPCIA_IO IO(MCPCIA,mcpcia)
113 #define DO_POLARIS_IO IO(POLARIS,polaris)
114 #define DO_T2_IO IO(T2,t2)
115 #define DO_TSUNAMI_IO IO(TSUNAMI,tsunami)
116 #define DO_TITAN_IO IO(TITAN,titan)
117 #define DO_WILDFIRE_IO IO(WILDFIRE,wildfire)
119 #define DO_PYXIS_IO IO_LITE(CIA,cia_bwx), \
120 .pci_ops = &cia_pci_ops, \
121 .mv_pci_tbi = cia_pci_tbi
139 #ifdef CONFIG_ALPHA_GENERIC
140 #define __initmv __initdata
143 #define __initmv __initdata_refok
149 #define ALIAS_MV(system) \
150 struct alpha_machine_vector alpha_mv __attribute__((alias(#system "_mv")));
152 #define ALIAS_MV(system) \
153 asm(".global alpha_mv\nalpha_mv = " #system "_mv");