linker.h (153504) | linker.h (157144) |
---|---|
1/*- 2 * Copyright (c) 1997-2000 Doug Rabson 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1997-2000 Doug Rabson 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 --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/sys/linker.h 153504 2005-12-18 04:52:37Z marcel $ | 26 * $FreeBSD: head/sys/sys/linker.h 157144 2006-03-26 12:20:54Z jkoshy $ |
27 */ 28 29#ifndef _SYS_LINKER_H_ 30#define _SYS_LINKER_H_ 31 32#ifdef _KERNEL 33 34#include <machine/elf.h> --- 132 unchanged lines hidden (view full) --- 167 * DDB Helpers, tuned specifically for ddb/db_kld.c 168 */ 169int linker_ddb_lookup(const char *_symstr, c_linker_sym_t *_sym); 170int linker_ddb_search_symbol(caddr_t _value, c_linker_sym_t *_sym, 171 long *_diffp); 172int linker_ddb_symbol_values(c_linker_sym_t _sym, linker_symval_t *_symval); 173 174 | 27 */ 28 29#ifndef _SYS_LINKER_H_ 30#define _SYS_LINKER_H_ 31 32#ifdef _KERNEL 33 34#include <machine/elf.h> --- 132 unchanged lines hidden (view full) --- 167 * DDB Helpers, tuned specifically for ddb/db_kld.c 168 */ 169int linker_ddb_lookup(const char *_symstr, c_linker_sym_t *_sym); 170int linker_ddb_search_symbol(caddr_t _value, c_linker_sym_t *_sym, 171 long *_diffp); 172int linker_ddb_symbol_values(c_linker_sym_t _sym, linker_symval_t *_symval); 173 174 |
175/* HWPMC helper */ 176void *linker_hwpmc_list_objects(void); 177 |
|
175#endif /* _KERNEL */ 176 177/* 178 * Module information subtypes 179 */ 180#define MODINFO_END 0x0000 /* End of list */ 181#define MODINFO_NAME 0x0001 /* Name of module (string) */ 182#define MODINFO_TYPE 0x0002 /* Type of module (string) */ --- 120 unchanged lines hidden --- | 178#endif /* _KERNEL */ 179 180/* 181 * Module information subtypes 182 */ 183#define MODINFO_END 0x0000 /* End of list */ 184#define MODINFO_NAME 0x0001 /* Name of module (string) */ 185#define MODINFO_TYPE 0x0002 /* Type of module (string) */ --- 120 unchanged lines hidden --- |