Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
machvec_impl.h File Reference
#include <asm/pgalloc.h>

Go to the source code of this file.

Macros

#define IRONGATE_HAE_ADDRESS   (&alpha_mv.hae_cache)
 
#define MARVEL_HAE_ADDRESS   (&alpha_mv.hae_cache)
 
#define POLARIS_HAE_ADDRESS   (&alpha_mv.hae_cache)
 
#define TSUNAMI_HAE_ADDRESS   (&alpha_mv.hae_cache)
 
#define TITAN_HAE_ADDRESS   (&alpha_mv.hae_cache)
 
#define WILDFIRE_HAE_ADDRESS   (&alpha_mv.hae_cache)
 
#define JENSEN_IACK_SC   1
 
#define T2_IACK_SC   1
 
#define WILDFIRE_IACK_SC   1 /* FIXME */
 
#define CAT1(x, y)   x##y
 
#define CAT(x, y)   CAT1(x,y)
 
#define DO_DEFAULT_RTC
 
#define DO_EV4_MMU
 
#define DO_EV5_MMU
 
#define DO_EV6_MMU
 
#define DO_EV7_MMU
 
#define IO_LITE(UP, low)
 
#define IO(UP, low)
 
#define DO_APECS_IO   IO(APECS,apecs)
 
#define DO_CIA_IO   IO(CIA,cia)
 
#define DO_IRONGATE_IO   IO(IRONGATE,irongate)
 
#define DO_LCA_IO   IO(LCA,lca)
 
#define DO_MARVEL_IO   IO(MARVEL,marvel)
 
#define DO_MCPCIA_IO   IO(MCPCIA,mcpcia)
 
#define DO_POLARIS_IO   IO(POLARIS,polaris)
 
#define DO_T2_IO   IO(T2,t2)
 
#define DO_TSUNAMI_IO   IO(TSUNAMI,tsunami)
 
#define DO_TITAN_IO   IO(TITAN,titan)
 
#define DO_WILDFIRE_IO   IO(WILDFIRE,wildfire)
 
#define DO_PYXIS_IO
 
#define __initmv   __initdata_refok
 
#define ALIAS_MV(system)   asm(".global alpha_mv\nalpha_mv = " #system "_mv");
 

Macro Definition Documentation

struct alpha_machine_vector privateer_mv __initmv   __initdata_refok

Definition at line 143 of file machvec_impl.h.

#define ALIAS_MV (   system)    asm(".global alpha_mv\nalpha_mv = " #system "_mv");

Definition at line 152 of file machvec_impl.h.

#define CAT (   x,
  y 
)    CAT1(x,y)

Definition at line 44 of file machvec_impl.h.

#define CAT1 (   x,
  y 
)    x##y

Definition at line 43 of file machvec_impl.h.

#define DO_APECS_IO   IO(APECS,apecs)

Definition at line 107 of file machvec_impl.h.

#define DO_CIA_IO   IO(CIA,cia)

Definition at line 108 of file machvec_impl.h.

#define DO_DEFAULT_RTC
Value:
.rtc_port = 0x70, \
.rtc_get_time = common_get_rtc_time, \
.rtc_set_time = common_set_rtc_time

Definition at line 46 of file machvec_impl.h.

#define DO_EV4_MMU
Value:
.max_asn = EV4_MAX_ASN, \
.mv_switch_mm = ev4_switch_mm, \
.mv_activate_mm = ev4_activate_mm, \
.mv_flush_tlb_current = ev4_flush_tlb_current, \
.mv_flush_tlb_current_page = ev4_flush_tlb_current_page

Definition at line 51 of file machvec_impl.h.

#define DO_EV5_MMU
Value:
.max_asn = EV5_MAX_ASN, \
.mv_switch_mm = ev5_switch_mm, \
.mv_activate_mm = ev5_activate_mm, \
.mv_flush_tlb_current = ev5_flush_tlb_current, \
.mv_flush_tlb_current_page = ev5_flush_tlb_current_page

Definition at line 58 of file machvec_impl.h.

#define DO_EV6_MMU
Value:
.max_asn = EV6_MAX_ASN, \
.mv_switch_mm = ev5_switch_mm, \
.mv_activate_mm = ev5_activate_mm, \
.mv_flush_tlb_current = ev5_flush_tlb_current, \
.mv_flush_tlb_current_page = ev5_flush_tlb_current_page

Definition at line 65 of file machvec_impl.h.

#define DO_EV7_MMU
Value:
.max_asn = EV6_MAX_ASN, \
.mv_switch_mm = ev5_switch_mm, \
.mv_activate_mm = ev5_activate_mm, \
.mv_flush_tlb_current = ev5_flush_tlb_current, \
.mv_flush_tlb_current_page = ev5_flush_tlb_current_page

Definition at line 72 of file machvec_impl.h.

#define DO_IRONGATE_IO   IO(IRONGATE,irongate)

Definition at line 109 of file machvec_impl.h.

#define DO_LCA_IO   IO(LCA,lca)

Definition at line 110 of file machvec_impl.h.

#define DO_MARVEL_IO   IO(MARVEL,marvel)

Definition at line 111 of file machvec_impl.h.

#define DO_MCPCIA_IO   IO(MCPCIA,mcpcia)

Definition at line 112 of file machvec_impl.h.

#define DO_POLARIS_IO   IO(POLARIS,polaris)

Definition at line 113 of file machvec_impl.h.

#define DO_PYXIS_IO
Value:
IO_LITE(CIA,cia_bwx), \
.pci_ops = &cia_pci_ops, \
.mv_pci_tbi = cia_pci_tbi

Definition at line 119 of file machvec_impl.h.

#define DO_T2_IO   IO(T2,t2)

Definition at line 114 of file machvec_impl.h.

#define DO_TITAN_IO   IO(TITAN,titan)

Definition at line 116 of file machvec_impl.h.

#define DO_TSUNAMI_IO   IO(TSUNAMI,tsunami)

Definition at line 115 of file machvec_impl.h.

#define DO_WILDFIRE_IO   IO(WILDFIRE,wildfire)

Definition at line 117 of file machvec_impl.h.

#define IO (   UP,
  low 
)
Value:
.pci_ops = &CAT(low,_pci_ops), \
.mv_pci_tbi = CAT(low,_pci_tbi)

Definition at line 102 of file machvec_impl.h.

#define IO_LITE (   UP,
  low 
)
Value:
.hae_register = (unsigned long *) CAT(UP,_HAE_ADDRESS), \
.iack_sc = CAT(UP,_IACK_SC), \
.mv_ioread8 = CAT(low,_ioread8), \
.mv_ioread16 = CAT(low,_ioread16), \
.mv_ioread32 = CAT(low,_ioread32), \
.mv_iowrite8 = CAT(low,_iowrite8), \
.mv_iowrite16 = CAT(low,_iowrite16), \
.mv_iowrite32 = CAT(low,_iowrite32), \
.mv_readb = CAT(low,_readb), \
.mv_readw = CAT(low,_readw), \
.mv_readl = CAT(low,_readl), \
.mv_readq = CAT(low,_readq), \
.mv_writeb = CAT(low,_writeb), \
.mv_writew = CAT(low,_writew), \
.mv_writel = CAT(low,_writel), \
.mv_writeq = CAT(low,_writeq), \
.mv_ioportmap = CAT(low,_ioportmap), \
.mv_ioremap = CAT(low,_ioremap), \
.mv_iounmap = CAT(low,_iounmap), \
.mv_is_ioaddr = CAT(low,_is_ioaddr), \
.mv_is_mmio = CAT(low,_is_mmio) \

Definition at line 79 of file machvec_impl.h.

#define IRONGATE_HAE_ADDRESS   (&alpha_mv.hae_cache)

Definition at line 15 of file machvec_impl.h.

#define JENSEN_IACK_SC   1

Definition at line 35 of file machvec_impl.h.

#define MARVEL_HAE_ADDRESS   (&alpha_mv.hae_cache)

Definition at line 16 of file machvec_impl.h.

#define POLARIS_HAE_ADDRESS   (&alpha_mv.hae_cache)

Definition at line 17 of file machvec_impl.h.

#define T2_IACK_SC   1

Definition at line 36 of file machvec_impl.h.

#define TITAN_HAE_ADDRESS   (&alpha_mv.hae_cache)

Definition at line 19 of file machvec_impl.h.

#define TSUNAMI_HAE_ADDRESS   (&alpha_mv.hae_cache)

Definition at line 18 of file machvec_impl.h.

#define WILDFIRE_HAE_ADDRESS   (&alpha_mv.hae_cache)

Definition at line 20 of file machvec_impl.h.

#define WILDFIRE_IACK_SC   1 /* FIXME */

Definition at line 37 of file machvec_impl.h.