machvec_impl.h (2d8ad8719591fa803b0d589ed057fa46f49b7155) machvec_impl.h (85d0b3a573d8b711ee0c96199ac24a0f3283ed68)
1/*
2 * linux/arch/alpha/kernel/machvec_impl.h
3 *
4 * Copyright (C) 1997, 1998 Richard Henderson
5 *
6 * This file has goodies to help simplify instantiation of machine vectors.
7 */
8

--- 29 unchanged lines hidden (view full) ---

38
39/*
40 * Some helpful macros for filling in the blanks.
41 */
42
43#define CAT1(x,y) x##y
44#define CAT(x,y) CAT1(x,y)
45
1/*
2 * linux/arch/alpha/kernel/machvec_impl.h
3 *
4 * Copyright (C) 1997, 1998 Richard Henderson
5 *
6 * This file has goodies to help simplify instantiation of machine vectors.
7 */
8

--- 29 unchanged lines hidden (view full) ---

38
39/*
40 * Some helpful macros for filling in the blanks.
41 */
42
43#define CAT1(x,y) x##y
44#define CAT(x,y) CAT1(x,y)
45
46#define DO_DEFAULT_RTC \
47 .rtc_port = 0x70, \
48 .rtc_get_time = common_get_rtc_time, \
49 .rtc_set_time = common_set_rtc_time
46#define DO_DEFAULT_RTC .rtc_port = 0x70
50
51#define DO_EV4_MMU \
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
57

--- 98 unchanged lines hidden ---
47
48#define DO_EV4_MMU \
49 .max_asn = EV4_MAX_ASN, \
50 .mv_switch_mm = ev4_switch_mm, \
51 .mv_activate_mm = ev4_activate_mm, \
52 .mv_flush_tlb_current = ev4_flush_tlb_current, \
53 .mv_flush_tlb_current_page = ev4_flush_tlb_current_page
54

--- 98 unchanged lines hidden ---