asm-offsets.c (d7f864be8323e5394040e2877594645b0e7da85d) asm-offsets.c (48d7927bdf071d05cf5d15b816cf06b0937cb84f)
1/*
2 * Copyright (C) 1995-2003 Russell King
3 * 2001-2002 Keith Owens
4 *
5 * Generate definitions needed by assembly language modules.
6 * This code generates raw asm output which is post-processed to extract
7 * and format the required data.
8 *

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

106 DEFINE(MACHINFO_NAME, offsetof(struct machine_desc, name));
107 DEFINE(MACHINFO_PHYSIO, offsetof(struct machine_desc, phys_io));
108 DEFINE(MACHINFO_PGOFFIO, offsetof(struct machine_desc, io_pg_offst));
109 BLANK();
110 DEFINE(PROC_INFO_SZ, sizeof(struct proc_info_list));
111 DEFINE(PROCINFO_INITFUNC, offsetof(struct proc_info_list, __cpu_flush));
112 DEFINE(PROCINFO_MM_MMUFLAGS, offsetof(struct proc_info_list, __cpu_mm_mmu_flags));
113 DEFINE(PROCINFO_IO_MMUFLAGS, offsetof(struct proc_info_list, __cpu_io_mmu_flags));
1/*
2 * Copyright (C) 1995-2003 Russell King
3 * 2001-2002 Keith Owens
4 *
5 * Generate definitions needed by assembly language modules.
6 * This code generates raw asm output which is post-processed to extract
7 * and format the required data.
8 *

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

106 DEFINE(MACHINFO_NAME, offsetof(struct machine_desc, name));
107 DEFINE(MACHINFO_PHYSIO, offsetof(struct machine_desc, phys_io));
108 DEFINE(MACHINFO_PGOFFIO, offsetof(struct machine_desc, io_pg_offst));
109 BLANK();
110 DEFINE(PROC_INFO_SZ, sizeof(struct proc_info_list));
111 DEFINE(PROCINFO_INITFUNC, offsetof(struct proc_info_list, __cpu_flush));
112 DEFINE(PROCINFO_MM_MMUFLAGS, offsetof(struct proc_info_list, __cpu_mm_mmu_flags));
113 DEFINE(PROCINFO_IO_MMUFLAGS, offsetof(struct proc_info_list, __cpu_io_mmu_flags));
114 BLANK();
115#ifdef MULTI_DABORT
116 DEFINE(PROCESSOR_DABT_FUNC, offsetof(struct processor, _data_abort));
117#endif
118#ifdef MULTI_PABORT
119 DEFINE(PROCESSOR_PABT_FUNC, offsetof(struct processor, _prefetch_abort));
120#endif
114 return 0;
115}
121 return 0;
122}