elf32_machdep.c (279750) | elf32_machdep.c (283382) |
---|---|
1/*- 2 * Copyright 1996-1998 John D. Polstra. 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 --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * | 1/*- 2 * Copyright 1996-1998 John D. Polstra. 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 --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/sys/powerpc/powerpc/elf32_machdep.c 279750 2015-03-07 20:14:46Z nwhitehorn $ | 25 * $FreeBSD: head/sys/powerpc/powerpc/elf32_machdep.c 283382 2015-05-24 14:51:29Z dchagin $ |
26 */ 27 28#include <sys/param.h> 29#include <sys/kernel.h> 30#include <sys/systm.h> 31 32#define __ELF_WORD_SIZE 32 33 --- 69 unchanged lines hidden (view full) --- 103 .sv_fixlimit = NULL, 104 .sv_maxssiz = NULL, 105 .sv_flags = SV_ABI_FREEBSD | SV_ILP32 | SV_SHP, 106 .sv_set_syscall_retval = cpu_set_syscall_retval, 107 .sv_fetch_syscall_args = cpu_fetch_syscall_args, 108 .sv_shared_page_base = FREEBSD32_SHAREDPAGE, 109 .sv_shared_page_len = PAGE_SIZE, 110 .sv_schedtail = NULL, | 26 */ 27 28#include <sys/param.h> 29#include <sys/kernel.h> 30#include <sys/systm.h> 31 32#define __ELF_WORD_SIZE 32 33 --- 69 unchanged lines hidden (view full) --- 103 .sv_fixlimit = NULL, 104 .sv_maxssiz = NULL, 105 .sv_flags = SV_ABI_FREEBSD | SV_ILP32 | SV_SHP, 106 .sv_set_syscall_retval = cpu_set_syscall_retval, 107 .sv_fetch_syscall_args = cpu_fetch_syscall_args, 108 .sv_shared_page_base = FREEBSD32_SHAREDPAGE, 109 .sv_shared_page_len = PAGE_SIZE, 110 .sv_schedtail = NULL, |
111 .sv_thread_detach = NULL, |
|
111}; 112INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); 113 114static Elf32_Brandinfo freebsd_brand_info = { 115 .brand = ELFOSABI_FREEBSD, 116 .machine = EM_PPC, 117 .compat_3_brand = "FreeBSD", 118 .emul_path = NULL, --- 203 unchanged lines hidden --- | 112}; 113INIT_SYSENTVEC(elf32_sysvec, &elf32_freebsd_sysvec); 114 115static Elf32_Brandinfo freebsd_brand_info = { 116 .brand = ELFOSABI_FREEBSD, 117 .machine = EM_PPC, 118 .compat_3_brand = "FreeBSD", 119 .emul_path = NULL, --- 203 unchanged lines hidden --- |