Rename assym.s to assym.inc
assym is only to be included by other .s files, and should never actually be assembled by itself. Reviewed by: imp, bdrewery (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14180
This commit is contained in:
parent
9cffc92c62
commit
fc2a8776a2
@ -34,7 +34,7 @@
|
||||
#include <machine/specialreg.h>
|
||||
#include <machine/timerreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Resume entry point for real mode.
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include "opt_smp.h"
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
@ -36,7 +36,7 @@
|
||||
* master and slave interrupt controllers.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
/*
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <machine/asmacros.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "opt_compat.h"
|
||||
#include "opt_hwpmc_hooks.h"
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
#include <machine/psl.h>
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include <machine/pmap.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Compiled KERNBASE location
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <machine/asmacros.h> /* miscellaneous asm macros */
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.data /* So we can modify it */
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
/**********************************************************************
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <machine/specialreg.h>
|
||||
#include <machine/pmap.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#define __ASSEMBLY__
|
||||
#include <xen/interface/elfnote.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.section __xen_guest
|
||||
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz, "FreeBSD")
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
/*
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "linux_assym.h" /* system definitions */
|
||||
#include <machine/asmacros.h> /* miscellaneous asm macros */
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
futex_fault:
|
||||
movq $0,PCB_ONFAULT(%r8)
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "linux32_assym.h" /* system definitions */
|
||||
#include <machine/asmacros.h> /* miscellaneous asm macros */
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
futex_fault:
|
||||
movq $0,PCB_ONFAULT(%r8)
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <machine/asmacros.h>
|
||||
#include <amd64/sgx/sgxvar.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#ifndef _ARM_ARCH_5E
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <sys/errno.h>
|
||||
|
@ -38,7 +38,7 @@
|
||||
* Created : 16/05/95
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include <machine/asm.h>
|
||||
#include <machine/armreg.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
@ -26,7 +26,7 @@
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/asmacros.h>
|
||||
|
@ -46,7 +46,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/armreg.h>
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/armreg.h>
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
.syntax unified
|
||||
|
@ -24,7 +24,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include <sys/syscall.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/asmacros.h>
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "opt_inet.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
.syntax unified
|
||||
|
@ -33,7 +33,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include <sys/syscall.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/armreg.h>
|
||||
|
@ -28,7 +28,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include <sys/syscall.h>
|
||||
#include <machine/asm.h>
|
||||
#include <machine/asmacros.h>
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/* We map 64MB of kernel unless overridden in assym.s by the kernel option. */
|
||||
/* We map 64MB of kernel unless overridden in assym.inc by the kernel option. */
|
||||
#ifndef LOCORE_MAP_MB
|
||||
#define LOCORE_MAP_MB 64
|
||||
#endif
|
||||
|
@ -89,7 +89,7 @@
|
||||
#include <machine/asm.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.syntax unified
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
@ -78,7 +78,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
@ -78,7 +78,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <machine/asmacros.h>
|
||||
|
@ -30,7 +30,7 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* void bzero(void *p, size_t size)
|
||||
|
@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/vmparam.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Fault handler for the copy{in,out} functions below.
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <machine/armreg.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_kstack_pages.h"
|
||||
#include <sys/syscall.h>
|
||||
#include <machine/asm.h>
|
||||
|
@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/param.h>
|
||||
#include <machine/vmparam.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* One of the fu* or su* functions failed, return -1.
|
||||
|
@ -29,7 +29,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_kstack_pages.h"
|
||||
#include "opt_sched.h"
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <machine/armreg.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
void dtrace_membar_producer(void)
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <sys/cpuvar_defs.h>
|
||||
#include <sys/dtrace.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define INTR_POP \
|
||||
MEXITCOUNT; \
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <machine/asm.h>
|
||||
#include <machine/armreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
void dtrace_membar_producer(void)
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include <sys/cpuvar_defs.h>
|
||||
#include <sys/dtrace.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
ENTRY(dtrace_invop_start)
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define _ASM
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <machine/riscvreg.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
void dtrace_membar_producer(void)
|
||||
|
@ -105,7 +105,7 @@ hptrr_lib.o optional hptrr \
|
||||
#
|
||||
amd64/acpica/acpi_machdep.c optional acpi
|
||||
acpi_wakecode.o optional acpi \
|
||||
dependency "$S/amd64/acpica/acpi_wakecode.S assym.s" \
|
||||
dependency "$S/amd64/acpica/acpi_wakecode.S assym.inc" \
|
||||
compile-with "${NORMAL_S}" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "acpi_wakecode.o"
|
||||
|
@ -443,7 +443,7 @@ dev/isci/scil/scif_sas_task_request_states.c optional isci
|
||||
dev/isci/scil/scif_sas_timer.c optional isci
|
||||
i386/acpica/acpi_machdep.c optional acpi
|
||||
acpi_wakecode.o optional acpi \
|
||||
dependency "$S/i386/acpica/acpi_wakecode.S assym.s" \
|
||||
dependency "$S/i386/acpica/acpi_wakecode.S assym.inc" \
|
||||
compile-with "${NORMAL_S}" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "acpi_wakecode.o"
|
||||
|
@ -155,7 +155,7 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
|
||||
.endif
|
||||
${SYSTEM_LD_TAIL}
|
||||
|
||||
OBJS_DEPEND_GUESS+= assym.s vnode_if.h ${BEFORE_DEPEND:M*.h} \
|
||||
OBJS_DEPEND_GUESS+= assym.inc vnode_if.h ${BEFORE_DEPEND:M*.h} \
|
||||
${MFILES:T:S/.m$/.h/}
|
||||
|
||||
.for mfile in ${MFILES}
|
||||
@ -184,7 +184,7 @@ hack.pico: Makefile
|
||||
${CC} ${HACK_EXTRA_FLAGS} -nostdlib hack.c -o hack.pico
|
||||
rm -f hack.c
|
||||
|
||||
assym.s: $S/kern/genassym.sh genassym.o
|
||||
assym.inc: $S/kern/genassym.sh genassym.o
|
||||
NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh genassym.o > ${.TARGET}
|
||||
|
||||
genassym.o: $S/$M/$M/genassym.c
|
||||
@ -212,7 +212,7 @@ _SKIP_DEPEND= 1
|
||||
.endif
|
||||
|
||||
kernel-depend: .depend
|
||||
SRCS= assym.s vnode_if.h ${BEFORE_DEPEND} ${CFILES} \
|
||||
SRCS= assym.inc vnode_if.h ${BEFORE_DEPEND} ${CFILES} \
|
||||
${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
|
||||
${MFILES:T:S/.m$/.h/}
|
||||
DEPENDOBJS+= ${SYSTEM_OBJS} genassym.o
|
||||
|
@ -454,14 +454,14 @@ acpi_quirks.h: ${SYSDIR}/tools/acpi_quirks2h.awk ${SYSDIR}/dev/acpica/acpi_quirk
|
||||
${AWK} -f ${SYSDIR}/tools/acpi_quirks2h.awk ${SYSDIR}/dev/acpica/acpi_quirks
|
||||
.endif
|
||||
|
||||
.if !empty(SRCS:Massym.s) || !empty(DPSRCS:Massym.s)
|
||||
CLEANFILES+= assym.s genassym.o
|
||||
.if !empty(SRCS:Massym.inc) || !empty(DPSRCS:Massym.inc)
|
||||
CLEANFILES+= assym.inc genassym.o
|
||||
DEPENDOBJS+= genassym.o
|
||||
assym.s: genassym.o
|
||||
assym.inc: genassym.o
|
||||
.if defined(KERNBUILDDIR)
|
||||
genassym.o: opt_global.h
|
||||
.endif
|
||||
assym.s: ${SYSDIR}/kern/genassym.sh
|
||||
assym.inc: ${SYSDIR}/kern/genassym.sh
|
||||
sh ${SYSDIR}/kern/genassym.sh genassym.o > ${.TARGET}
|
||||
genassym.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c
|
||||
genassym.o: ${SRCS:Mopt_*.h}
|
||||
|
@ -26,7 +26,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <machine/asmacros.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* This is the Hyper-V vmbus channel direct callback interrupt.
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <machine/specialreg.h>
|
||||
#include <machine/timerreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Resume entry point. The BIOS enters here in real mode after POST with
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <machine/specialreg.h>
|
||||
#include <x86/apicreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
SUPERALIGN_TEXT
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Macros for interrupt entry, call to handler, and exit.
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.data
|
||||
ALIGN_DATA
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <machine/psl.h>
|
||||
#include <machine/trap.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc
|
||||
|
||||
#define SEL_RPL_MASK 0x0003
|
||||
#define GSEL_KPL 0x0020 /* GSEL(GCODE_SEL, SEL_KPL) */
|
||||
|
@ -52,7 +52,7 @@
|
||||
#include <machine/pmap.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* XXX
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <x86/apicreg.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define R(x) ((x)-KERNBASE)
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
#include <machine/asmacros.h>
|
||||
#include <machine/psl.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Signal trampoline, copied to top of user stack
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include <machine/pmap.h>
|
||||
#include <machine/specialreg.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define IDXSHIFT 10
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#if defined(SMP) && defined(SCHED_ULE)
|
||||
#define SETOP xchgl
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <machine/asmacros.h> /* miscellaneous asm macros */
|
||||
#include <machine/trap.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define SCR_NEWPTD PCB_ESI /* readability macros */
|
||||
#define SCR_VMFRAME PCB_EBP /* see vm86.c for explanation */
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include <i386/linux/linux_syscall.h> /* system call numbers */
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* To avoid excess stack frame the signal trampoline code emulates
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "linux_assym.h" /* system definitions */
|
||||
#include <machine/asmacros.h> /* miscellaneous asm macros */
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
futex_fault_decx:
|
||||
movl PCPU(CURPCB),%ecx
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include <machine/asm.h>
|
||||
#include <mips/cavium/octeon_cop2.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.set noreorder
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
.set noat
|
||||
|
@ -63,7 +63,7 @@
|
||||
#include <machine/pte.h>
|
||||
#include <machine/pcb.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.set noreorder # Noreorder is default style!
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <machine/regnum.h>
|
||||
#include <machine/cpuregs.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define SEXP_INF 0xff
|
||||
#define DEXP_INF 0x7ff
|
||||
|
@ -70,7 +70,7 @@
|
||||
#include <machine/cpuregs.h>
|
||||
#include <machine/regnum.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.data
|
||||
#ifdef YAMON
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/cpuregs.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
.set noat
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <machine/cpuregs.h>
|
||||
#include <machine/octeon_cop2.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.set noreorder
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
||||
#include <machine/cpuregs.h>
|
||||
#include <machine/pcb.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.set noreorder # Noreorder is default style!
|
||||
|
||||
|
@ -64,7 +64,7 @@
|
||||
#include <machine/pte.h>
|
||||
#include <machine/pcb.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.set noreorder # Noreorder is default style!
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#define SYS_REG_KSEG1(node, reg) (0xa0000000 + XLP_DEFAULT_IO_BASE + \
|
||||
XLP_IO_SYS_OFFSET(node) + XLP_IO_PCI_HDRSZ + (reg) * 4)
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.text
|
||||
.set noat
|
||||
|
@ -27,9 +27,9 @@ CFLAGS+= -I${SYSDIR}/cddl/contrib/opensolaris/uts/intel \
|
||||
SRCS+= bus_if.h device_if.h vnode_if.h
|
||||
|
||||
# Needed for dtrace_asm.S
|
||||
DPSRCS+= assym.s
|
||||
DPSRCS+= assym.inc
|
||||
|
||||
# These are needed for assym.s
|
||||
# These are needed for assym.inc
|
||||
SRCS+= opt_compat.h opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h
|
||||
|
||||
#This is needed for dtrace.c
|
||||
@ -53,7 +53,7 @@ EXPORT_SYMS= dtrace_register \
|
||||
dtrace_unregister \
|
||||
dtrace_probe_lookup
|
||||
|
||||
dtrace_asm.o: assym.s
|
||||
dtrace_asm.o: assym.inc
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
|
@ -17,13 +17,13 @@ SRCS= hyperv.c \
|
||||
vmbus_xact.c
|
||||
SRCS+= acpi_if.h bus_if.h device_if.h opt_acpi.h pci_if.h pcib_if.h vmbus_if.h
|
||||
|
||||
# XXX: for assym.s
|
||||
# XXX: for assym.inc
|
||||
SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h opt_compat.h
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
SRCS+= opt_apic.h
|
||||
.endif
|
||||
|
||||
DPSRCS+= assym.s
|
||||
DPSRCS= assym.inc
|
||||
|
||||
vmbus_vector.o:
|
||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
||||
|
@ -19,9 +19,9 @@ SRCS= linux_fork.c linux${SFX}_dummy.c linux_file.c linux_event.c \
|
||||
opt_inet6.h opt_compat.h opt_posix.h opt_usb.h vnode_if.h \
|
||||
device_if.h bus_if.h \
|
||||
linux${SFX}_support.s
|
||||
DPSRCS= assym.s linux${SFX}_genassym.c
|
||||
DPSRCS= assym.inc linux${SFX}_genassym.c
|
||||
|
||||
# XXX: for assym.s
|
||||
# XXX: for assym.inc
|
||||
SRCS+= opt_kstack_pages.h opt_nfs.h opt_compat.h opt_hwpmc_hooks.h
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
SRCS+= opt_apic.h
|
||||
@ -48,7 +48,7 @@ CLEANFILES= linux${SFX}_assym.h linux${SFX}_genassym.o linux${SFX}_locore.o
|
||||
linux${SFX}_assym.h: linux${SFX}_genassym.o
|
||||
sh ${SYSDIR}/kern/genassym.sh linux${SFX}_genassym.o > ${.TARGET}
|
||||
|
||||
linux${SFX}_locore.o: linux${SFX}_assym.h assym.s
|
||||
linux${SFX}_locore.o: linux${SFX}_assym.h assym.inc
|
||||
${CC} -x assembler-with-cpp -DLOCORE -m32 -shared -s \
|
||||
-pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -nostdinc -nostdlib \
|
||||
-fno-omit-frame-pointer -fPIC \
|
||||
@ -56,7 +56,7 @@ linux${SFX}_locore.o: linux${SFX}_assym.h assym.s
|
||||
-Wl,-soname=${VDSO}.so.1,--eh-frame-hdr,-warn-common \
|
||||
${.IMPSRC} -o ${.TARGET}
|
||||
|
||||
linux${SFX}_support.o: linux${SFX}_assym.h assym.s
|
||||
linux${SFX}_support.o: linux${SFX}_assym.h assym.inc
|
||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
||||
${.IMPSRC} -o ${.TARGET}
|
||||
|
||||
|
@ -13,9 +13,9 @@ SRCS= linux_fork.c linux_dummy.c linux_file.c linux_event.c \
|
||||
opt_inet6.h opt_compat.h opt_posix.h opt_usb.h \
|
||||
vnode_if.h device_if.h bus_if.h \
|
||||
linux_support.s
|
||||
DPSRCS= assym.s linux_genassym.c
|
||||
DPSRCS= assym.inc linux_genassym.c
|
||||
|
||||
# XXX: for assym.s
|
||||
# XXX: for assym.inc
|
||||
SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h
|
||||
.if ${MACHINE_CPUARCH} == "i386"
|
||||
SRCS+= opt_apic.h
|
||||
@ -40,7 +40,7 @@ ${VDSO}.so: linux_locore.o
|
||||
-S -g --binary-architecture i386:x86-64 linux_locore.o ${.TARGET}
|
||||
strip -N _binary_linux_locore_o_size ${.TARGET}
|
||||
|
||||
linux_support.o: assym.s linux_assym.h
|
||||
linux_support.o: assym.inc linux_assym.h
|
||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
||||
${.IMPSRC} -o ${.TARGET}
|
||||
|
||||
|
@ -5,9 +5,9 @@
|
||||
KMOD= sgx
|
||||
SRCS= sgx.c sgxvar.h sgx_support.S
|
||||
SRCS+= opt_compat.h opt_hwpmc_hooks.h opt_kstack_pages.h
|
||||
DPSRCS= assym.s
|
||||
DPSRCS= assym.inc
|
||||
|
||||
sgx_support.o: assym.s
|
||||
sgx_support.o: assym.inc
|
||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
||||
${.IMPSRC} -o ${.TARGET}
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <sys/syscall.h>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <sys/syscall.h>
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include "opt_hwpmc_hooks.h"
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <sys/syscall.h>
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* The following code gets copied to the top of the user stack on process
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <sys/syscall.h>
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* The following code gets copied to the top of the user stack on process
|
||||
|
@ -56,7 +56,7 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
#include <sys/syscall.h>
|
||||
|
@ -56,7 +56,7 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
#include <sys/syscall.h>
|
||||
|
@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <sys/errno.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Fault handler for the copy{in,out} functions below.
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <machine/asm.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <machine/trap.h>
|
||||
#include <machine/riscvreg.h>
|
||||
|
@ -34,7 +34,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#include <sys/syscall.h>
|
||||
#include <machine/asm.h>
|
||||
|
@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#include <machine/setjmp.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* One of the fu* or su* functions failed, return -1.
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
#include <machine/param.h>
|
||||
|
@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/utrap.h>
|
||||
#include <machine/wstate.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
#define TSB_ASI 0x0
|
||||
#define TSB_KERNEL 0x0
|
||||
|
@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/pstate.h>
|
||||
#include <machine/ver.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
/*
|
||||
* Handle a vectored interrupt.
|
||||
|
@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/pstate.h>
|
||||
#include <machine/wstate.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.register %g2,#ignore
|
||||
|
||||
|
@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/ktr.h>
|
||||
#include <machine/pstate.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.register %g2, #ignore
|
||||
.register %g3, #ignore
|
||||
|
@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/smp.h>
|
||||
#include <machine/ver.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.register %g2, #ignore
|
||||
.register %g3, #ignore
|
||||
|
@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/pstate.h>
|
||||
#include <machine/wstate.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
|
||||
.register %g2, #ignore
|
||||
.register %g3, #ignore
|
||||
|
@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/pcb.h>
|
||||
#include <machine/tstate.h>
|
||||
|
||||
#include "assym.s"
|
||||
#include "assym.inc"
|
||||
#include "opt_sched.h"
|
||||
|
||||
.register %g2, #ignore
|
||||
|
Loading…
Reference in New Issue
Block a user