Deleted Added
full compact
elf_machdep.c (183322) elf_machdep.c (183838)
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

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

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
26#include <sys/cdefs.h>
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

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

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
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/arm/arm/elf_machdep.c 183322 2008-09-24 10:14:37Z kib $");
27__FBSDID("$FreeBSD: head/sys/arm/arm/elf_machdep.c 183838 2008-10-13 18:59:59Z raj $");
28
29#include <sys/param.h>
30#include <sys/kernel.h>
31#include <sys/systm.h>
32#include <sys/exec.h>
33#include <sys/imgact.h>
34#include <sys/linker.h>
35#include <sys/sysent.h>

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

210 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup));
211}
212
213int
214elf_cpu_load_file(linker_file_t lf __unused)
215{
216
217 cpu_idcache_wbinv_all();
28
29#include <sys/param.h>
30#include <sys/kernel.h>
31#include <sys/systm.h>
32#include <sys/exec.h>
33#include <sys/imgact.h>
34#include <sys/linker.h>
35#include <sys/sysent.h>

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

210 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup));
211}
212
213int
214elf_cpu_load_file(linker_file_t lf __unused)
215{
216
217 cpu_idcache_wbinv_all();
218 cpu_l2cache_wbinv_all();
218 cpu_tlb_flushID();
219 return (0);
220}
221
222int
223elf_cpu_unload_file(linker_file_t lf __unused)
224{
225
226 return (0);
227}
219 cpu_tlb_flushID();
220 return (0);
221}
222
223int
224elf_cpu_unload_file(linker_file_t lf __unused)
225{
226
227 return (0);
228}