ksyms.c (7e857dd14fe7f42f5b46af4904f84915215d8987) ksyms.c (13e403fdeadd26f9748ba83ea50ee271fbfc862a)
1/*-
2 * Copyright (c) 2008-2009, Stacey Son <sson@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

89 size_t sc_usize;
90 pmap_t sc_pmap;
91 struct proc *sc_proc;
92};
93
94static struct mtx ksyms_mtx;
95static struct cdev *ksyms_dev;
96static LIST_HEAD(, ksyms_softc) ksyms_list =
1/*-
2 * Copyright (c) 2008-2009, Stacey Son <sson@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

89 size_t sc_usize;
90 pmap_t sc_pmap;
91 struct proc *sc_proc;
92};
93
94static struct mtx ksyms_mtx;
95static struct cdev *ksyms_dev;
96static LIST_HEAD(, ksyms_softc) ksyms_list =
97 LIST_HEAD_INITIALIZER(&ksyms_list);
97 LIST_HEAD_INITIALIZER(ksyms_list);
98
99static const char ksyms_shstrtab[] =
100 "\0" STR_SYMTAB "\0" STR_STRTAB "\0" STR_SHSTRTAB "\0";
101
102struct ksyms_hdr {
103 Elf_Ehdr kh_ehdr;
104 Elf_Phdr kh_txtphdr;
105 Elf_Phdr kh_datphdr;

--- 560 unchanged lines hidden ---
98
99static const char ksyms_shstrtab[] =
100 "\0" STR_SYMTAB "\0" STR_STRTAB "\0" STR_SHSTRTAB "\0";
101
102struct ksyms_hdr {
103 Elf_Ehdr kh_ehdr;
104 Elf_Phdr kh_txtphdr;
105 Elf_Phdr kh_datphdr;

--- 560 unchanged lines hidden ---