Deleted Added
full compact
elf_trampoline.c (253005) elf_trampoline.c (259640)
1/*-
2 * Copyright (c) 2005 Olivier Houchard. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

25/*
26 * Since we are compiled outside of the normal kernel build process, we
27 * need to include opt_global.h manually.
28 */
29#include "opt_global.h"
30#include "opt_kernname.h"
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005 Olivier Houchard. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

25/*
26 * Since we are compiled outside of the normal kernel build process, we
27 * need to include opt_global.h manually.
28 */
29#include "opt_global.h"
30#include "opt_kernname.h"
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/arm/arm/elf_trampoline.c 253005 2013-07-07 21:20:52Z rpaulo $");
33__FBSDID("$FreeBSD: head/sys/arm/arm/elf_trampoline.c 259640 2013-12-20 00:56:23Z ganbold $");
34#include <machine/asm.h>
35#include <sys/param.h>
36#include <sys/elf32.h>
37#include <sys/inflate.h>
38#include <machine/elf.h>
39#include <machine/pte.h>
40#include <machine/cpufunc.h>
41#include <machine/armreg.h>

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

97#endif
98#endif /* CPU_MV_PJ4B */
99#ifdef CPU_XSCALE_81342
100#define cpu_l2cache_wbinv_all xscalec3_l2cache_purge
101extern void xscalec3_l2cache_purge(void);
102#elif defined(SOC_MV_KIRKWOOD) || defined(SOC_MV_DISCOVERY)
103#define cpu_l2cache_wbinv_all sheeva_l2cache_wbinv_all
104extern void sheeva_l2cache_wbinv_all(void);
34#include <machine/asm.h>
35#include <sys/param.h>
36#include <sys/elf32.h>
37#include <sys/inflate.h>
38#include <machine/elf.h>
39#include <machine/pte.h>
40#include <machine/cpufunc.h>
41#include <machine/armreg.h>

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

97#endif
98#endif /* CPU_MV_PJ4B */
99#ifdef CPU_XSCALE_81342
100#define cpu_l2cache_wbinv_all xscalec3_l2cache_purge
101extern void xscalec3_l2cache_purge(void);
102#elif defined(SOC_MV_KIRKWOOD) || defined(SOC_MV_DISCOVERY)
103#define cpu_l2cache_wbinv_all sheeva_l2cache_wbinv_all
104extern void sheeva_l2cache_wbinv_all(void);
105#elif defined(CPU_CORTEXA)
105#elif defined(CPU_CORTEXA) || defined(CPU_KRAIT)
106#define cpu_idcache_wbinv_all armv7_idcache_wbinv_all
107#define cpu_l2cache_wbinv_all()
108#else
109#define cpu_l2cache_wbinv_all()
110#endif
111
112static void armadaxp_idcache_wbinv_all(void);
113

--- 624 unchanged lines hidden ---
106#define cpu_idcache_wbinv_all armv7_idcache_wbinv_all
107#define cpu_l2cache_wbinv_all()
108#else
109#define cpu_l2cache_wbinv_all()
110#endif
111
112static void armadaxp_idcache_wbinv_all(void);
113

--- 624 unchanged lines hidden ---