📄 a.i
字号:
# 45 "/home/llhg/linux-2.4/linux/include/asm/processor.h" 2# 1 "/home/llhg/linux-2.4/linux/include/asm/proc/processor.h" 1 # 1 "/home/llhg/linux-2.4/linux/include/asm/proc/domain.h" 1 # 21 "/home/llhg/linux-2.4/linux/include/asm/proc/processor.h" 2struct context_save_struct { unsigned long cpsr; unsigned long r4; unsigned long r5; unsigned long r6; unsigned long r7; unsigned long r8; unsigned long r9; unsigned long sl; unsigned long fp; unsigned long pc;};# 70 "/home/llhg/linux-2.4/linux/include/asm/proc/processor.h" # 46 "/home/llhg/linux-2.4/linux/include/asm/processor.h" 2struct debug_info { int nsaved; struct { unsigned long address; unsigned long insn; } bp[2];};struct thread_struct { atomic_t refcount; unsigned long address; unsigned long trap_no; unsigned long error_code; union fp_state fpstate; struct debug_info debug; struct context_save_struct *save; unsigned int domain; }; static inline unsigned long thread_saved_pc(struct thread_struct *t){ return t->save ? (( t->save->pc ) & ~0 ) : 0;}static inline unsigned long get_css_fp(struct thread_struct *t){ return t->save ? t->save->fp : 0;} struct task_struct; extern void release_thread(struct task_struct *); unsigned long get_wchan(struct task_struct *p);extern struct task_struct *alloc_task_struct(void);extern void __free_task_struct(struct task_struct *); extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);# 13 "/home/llhg/linux-2.4/linux/include/linux/prefetch.h" 2# 1 "/home/llhg/linux-2.4/linux/include/asm/cache.h" 1 # 14 "/home/llhg/linux-2.4/linux/include/linux/prefetch.h" 2 static inline void prefetch(const void *x) {;}static inline void prefetchw(const void *x) {;}# 6 "/home/llhg/linux-2.4/linux/include/linux/list.h" 2 struct list_head { struct list_head *next, *prev;}; static __inline__ void __list_add(struct list_head * new, struct list_head * prev, struct list_head * next){ next->prev = new; new->next = next; new->prev = prev; prev->next = new;} static __inline__ void list_add(struct list_head *new, struct list_head *head){ __list_add(new, head, head->next);} static __inline__ void list_add_tail(struct list_head *new, struct list_head *head){ __list_add(new, head->prev, head);} static __inline__ void __list_del(struct list_head * prev, struct list_head * next){ next->prev = prev; prev->next = next;} static __inline__ void list_del(struct list_head *entry){ __list_del(entry->prev, entry->next);} static __inline__ void list_del_init(struct list_head *entry){ __list_del(entry->prev, entry->next); do { ( entry )->next = ( entry ); ( entry )->prev = ( entry ); } while (0) ; } static __inline__ int list_empty(struct list_head *head){ return head->next == head;} static __inline__ void list_splice(struct list_head *list, struct list_head *head){ struct list_head *first = list->next; if (first != list) { struct list_head *last = list->prev; struct list_head *at = head->next; first->prev = head; head->next = first; last->next = at; at->prev = last; }} # 12 "/home/llhg/linux-2.4/linux/include/linux/module.h" 2 struct exception_table_entry; struct kernel_sym{ unsigned long value; char name[60]; };struct module_symbol{ unsigned long value; const char *name;};struct module_ref{ struct module *dep; struct module *ref; struct module_ref *next_ref;}; struct module_persist;struct module{ unsigned long size_of_struct; struct module *next; const char *name; unsigned long size; union { atomic_t usecount; long pad; } uc; unsigned long flags; unsigned nsyms; unsigned ndeps; struct module_symbol *syms; struct module_ref *deps; struct module_ref *refs; int (*init)(void); void (*cleanup)(void); const struct exception_table_entry *ex_table_start; const struct exception_table_entry *ex_table_end; const struct module_persist *persist_start; const struct module_persist *persist_end; int (*can_unload)(void); int runsize; const char *kallsyms_start; const char *kallsyms_end; const char *archdata_start; const char *archdata_end; const char *kernel_data; };struct module_info{ unsigned long addr; unsigned long size; unsigned long flags; long usecount;}; extern void inter_module_register(const char *, struct module *, const void *);extern void inter_module_unregister(const char *);extern const void *inter_module_get(const char *);extern const void *inter_module_get_request(const char *, const char *);extern void inter_module_put(const char *);struct inter_module_entry { struct list_head list; const char *im_name; struct module *owner; const void *userdata;};extern int try_inc_mod_count(struct module *mod); extern struct module __this_module;# 1 "/home/llhg/linux-2.4/linux/include/linux/version.h" 1# 297 "/home/llhg/linux-2.4/linux/include/linux/module.h" 2static const char __module_kernel_version[] __attribute__((section(".modinfo"))) ="kernel_version=" "2.4.18-rmk7-pxa1" ;# 334 "/home/llhg/linux-2.4/linux/include/linux/module.h" # 366 "/home/llhg/linux-2.4/linux/include/linux/module.h"# 399 "/home/llhg/linux-2.4/linux/include/linux/module.h" # 2 "ad_driver.c" 2# 1 "/home/llhg/linux-2.4/linux/include/linux/kernel.h" 1 # 1 "/home/llhg/linux-2.4/linux/include/stdarg.h" 1 typedef void *__gnuc_va_list; void va_end (__gnuc_va_list); # 175 "/home/llhg/linux-2.4/linux/include/stdarg.h" typedef __gnuc_va_list va_list;# 10 "/home/llhg/linux-2.4/linux/include/linux/kernel.h" 2# 1 "/home/llhg/linux-2.4/linux/include/linux/linkage.h" 1# 49 "/home/llhg/linux-2.4/linux/include/linux/linkage.h"# 61 "/home/llhg/linux-2.4/linux/include/linux/linkage.h"# 11 "/home/llhg/linux-2.4/linux/include/linux/kernel.h" 2# 1 "/home/llhg/linux-2.4/linux/include/linux/stddef.h" 1# 12 "/home/llhg/linux-2.4/linux/include/linux/kernel.h" 2# 1 "/home/llhg/linux-2.4/linux/include/linux/types.h" 1# 1 "/home/llhg/linux-2.4/linux/include/linux/posix_types.h" 1 typedef struct { unsigned long fds_bits [(1024 / (8 * sizeof(unsigned long)) ) ];} __kernel_fd_set; typedef void (*__kernel_sighandler_t)(int); typedef int __kernel_key_t;# 1 "/home/llhg/linux-2.4/linux/include/asm/posix_types.h" 1 typedef unsigned short __kernel_dev_t;typedef unsigned long __kernel_ino_t;typedef unsigned short __kernel_mode_t;typedef unsigned short __kernel_nlink_t;typedef long __kernel_off_t;typedef int __kernel_pid_t;typedef unsigned short __kernel_ipc_pid_t;typedef unsigned short __kernel_uid_t;typedef unsigned short __kernel_gid_t;typedef unsigned int __kernel_size_t;typedef int __kernel_ssize_t;typedef int __kernel_ptrdiff_t;typedef long __kernel_time_t;typedef long __kernel_suseconds_t;typedef long __kernel_clock_t;typedef int __kernel_daddr_t;typedef char * __kernel_caddr_t;typedef unsigned short __kernel_uid16_t;typedef unsigned short __kernel_gid16_t;typedef unsigned int __kernel_uid32_t;typedef unsigned int __kernel_gid32_t;typedef unsigned short __kernel_old_uid_t;typedef unsigned short __kernel_old_gid_t;typedef long long __kernel_loff_t;typedef struct { int val[2];} __kernel_fsid_t;# 46 "/home/llhg/linux-2.4/linux/include/linux/posix_types.h" 2# 8 "/home/llhg/linux-2.4/linux/include/linux/types.h" 2# 1 "/home/llhg/linux-2.4/linux/include/asm/types.h" 1typedef unsigned short umode_t; typedef __signed__ char __s8;typedef unsigned char __u8;typedef __signed__ short __s16;typedef unsigned short __u16;typedef __signed__ int __s32;typedef unsigned int __u32;typedef __signed__ long long __s64;typedef unsigned long long __u64; typedef signed char s8;typedef unsigned char u8;typedef signed short s16;typedef unsigned short u16;typedef signed int s32;typedef unsigned int u32;typedef signed long long s64;typedef unsigned long long u64; typedef u32 dma_addr_t;# 9 "/home/llhg/linux-2.4/linux/include/linux/types.h" 2typedef __kernel_fd_set fd_set;typedef __kernel_dev_t dev_t;typedef __kernel_ino_t ino_t;typedef __kernel_mode_t mode_t;typedef __kernel_nlink_t nlink_t;typedef __kernel_off_t off_t;typedef __kernel_pid_t pid_t;typedef __kernel_daddr_t daddr_t;typedef __kernel_key_t key_t;typedef __kernel_suseconds_t suseconds_t;typedef __kernel_uid32_t uid_t;typedef __kernel_gid32_t gid_t;typedef __kernel_uid16_t uid16_t;typedef __kernel_gid16_t gid16_t; typedef __kernel_old_uid_t old_uid_t;typedef __kernel_old_gid_t old_gid_t; typedef __kernel_loff_t loff_t; typedef __kernel_size_t size_t;typedef __kernel_ssize_t ssize_t;typedef __kernel_ptrdiff_t ptrdiff_t;typedef __kernel_time_t time_t;typedef __kernel_clock_t clock_t;typedef __kernel_caddr_t caddr_t; typedef unsigned char u_char;typedef unsigned short u_short;typedef unsigned int u_int;typedef unsigned long u_long; typedef unsigned char unchar;typedef unsigned short ushort;typedef unsigned int uint;typedef unsigned long ulong;typedef __u8 u_int8_t;typedef __s8 int8_t;typedef __u16 u_int16_t;typedef __s16 int16_t;typedef __u32 u_int32_t;typedef __s32 int32_t;typedef __u8 uint8_t;typedef __u16 uint16_t;typedef __u32 uint32_t;typedef __u64 uint64_t;typedef __u64 u_int64_t;typedef __s64 int64_t; struct ustat { __kernel_daddr_t f_tfree; __kernel_ino_t f_tinode; char f_fname[6]; char f_fpack[6];};# 13 "/home/llhg/linux-2.4/linux/include/linux/kernel.h" 2 extern int console_printk[];struct completion;extern struct notifier_block *panic_notifier_list; void panic(const char * fmt, ...) __attribute__ ((noreturn, format (printf, 1, 2))); void do_exit(long error_code) __attribute__((noreturn)) ; void complete_and_exit(struct completion *, long) __attribute__((noreturn)) ;extern int abs(int);extern unsigned long simple_strtoul(const char *,char **,unsigned int);extern long simple_strtol(const char *,char **,unsigned int);extern unsigned long long simple_strtoull(const char *,char **,unsigned int);extern long long simple_strtoll(const char *,char **,unsigned int);extern int sprintf(char * buf, const char * fmt, ...) __attribute__ ((format (printf, 2, 3)));extern int vsprintf(char *buf, const char *, va_list);extern int snprintf(char * buf, size_t size, const char * fmt, ...) __attribute__ ((format (printf, 3, 4)));extern int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);extern int sscanf(const char *, const char *, ...) __attribute__ ((format (scanf,2,3)));extern int vsscanf(const char *, const char *, va_list);extern int get_option(char **str, int *pint);extern char *get_options(char *str, int nints, int *ints);extern unsigned long long memparse(char *ptr, char **retptr);extern void dev_probe_lock(void);extern void dev_probe_unlock(void);extern int session_of_pgrp(int pgrp); int printk(const char * fmt, ...) __attribute__ ((format (printf, 1, 2)));static inline void console_silent(void){ (console_printk[0]) = 0;}static inline void console_verbose(void){ if ((console_printk[0]) ) (console_printk[0]) = 15;}extern void bust_spinlocks(int yes);extern int oops_in_progress; extern int tainted;extern const char *print_tainted(void); struct sysinfo { long uptime; unsigned long loads[3]; unsigned long totalram; unsigned long freeram; unsigned long sharedram; unsigned long bufferram; unsigned long totalswap; unsigned long freeswap; unsigned short procs; unsigned short pad; unsigned long totalhigh; unsigned long freehigh; unsigned int mem_unit; char _f[20-2*sizeof(long)-sizeof(int)]; };# 3 "ad_driver.c" 2# 1 "/home/llhg/linux-2.4/linux/include/linux/delay.h" 1 extern unsigned long loops_per_jiffy;# 1 "/home/llhg/linux-2.4/linux/include/asm/delay.h" 1 extern void __delay(int loops); extern void udelay(unsigned long usecs);static inline unsigned long muldiv(unsigned long a, unsigned long b, unsigned long c){ return a * b / c;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -