bootstrap.h (134458) | bootstrap.h (134459) |
---|---|
1/*- 2 * Copyright (c) 1998 Michael Smith <msmith@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 --- 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) 1998 Michael Smith <msmith@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 --- 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/boot/common/bootstrap.h 134458 2004-08-28 23:03:05Z iedowse $ | 26 * $FreeBSD: head/sys/boot/common/bootstrap.h 134459 2004-08-29 00:48:42Z iedowse $ |
27 */ 28 29#include <sys/types.h> 30#include <sys/queue.h> 31#include <sys/linker_set.h> 32 33/* 34 * Generic device specifier; architecture-dependant --- 203 unchanged lines hidden (view full) --- 238/* Relocation types. */ 239#define ELF_RELOC_REL 1 240#define ELF_RELOC_RELA 2 241 242struct elf_file; 243typedef Elf_Addr (symaddr_fn)(struct elf_file *ef, Elf_Word symidx); 244 245int __elfN(loadfile)(char *filename, u_int64_t dest, struct preloaded_file **result); | 27 */ 28 29#include <sys/types.h> 30#include <sys/queue.h> 31#include <sys/linker_set.h> 32 33/* 34 * Generic device specifier; architecture-dependant --- 203 unchanged lines hidden (view full) --- 238/* Relocation types. */ 239#define ELF_RELOC_REL 1 240#define ELF_RELOC_RELA 2 241 242struct elf_file; 243typedef Elf_Addr (symaddr_fn)(struct elf_file *ef, Elf_Word symidx); 244 245int __elfN(loadfile)(char *filename, u_int64_t dest, struct preloaded_file **result); |
246int __elfN(obj_loadfile)(char *filename, u_int64_t dest, 247 struct preloaded_file **result); |
|
246int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, 247 const void *reldata, int reltype, Elf_Addr relbase, 248 Elf_Addr dataaddr, void *data, size_t len); 249#endif 250 251/* 252 * Support for commands 253 */ --- 47 unchanged lines hidden --- | 248int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, 249 const void *reldata, int reltype, Elf_Addr relbase, 250 Elf_Addr dataaddr, void *data, size_t len); 251#endif 252 253/* 254 * Support for commands 255 */ --- 47 unchanged lines hidden --- |