git: 835927fd8ed2 - main - arm: Remove swi.h

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Mon, 24 Jul 2023 16:58:44 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=835927fd8ed2b8cded87e2f5c95a0ab74ac4d811

commit 835927fd8ed2b8cded87e2f5c95a0ab74ac4d811
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-07-24 16:58:14 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-07-24 16:58:14 +0000

    arm: Remove swi.h
    
    It has been unneeded since moving to the Arm EABI
    
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D41136
---
 lib/libc/arm/SYS.h    |  1 -
 sys/arm/include/swi.h | 22 ----------------------
 2 files changed, 23 deletions(-)

diff --git a/lib/libc/arm/SYS.h b/lib/libc/arm/SYS.h
index 8a3225fa6df5..2e88cde8b43c 100644
--- a/lib/libc/arm/SYS.h
+++ b/lib/libc/arm/SYS.h
@@ -39,7 +39,6 @@
 
 #include <machine/asm.h>
 #include <sys/syscall.h>
-#include <machine/swi.h>
 
 #define SYSTRAP(x)							\
 			mov ip, r7;					\
diff --git a/sys/arm/include/swi.h b/sys/arm/include/swi.h
deleted file mode 100644
index b2caf5ee1c31..000000000000
--- a/sys/arm/include/swi.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*	$NetBSD: swi.h,v 1.1 2002/01/13 15:03:06 bjh21 Exp $	*/
-/* $FreeBSD$ */
-
-/*-
- * This file is in the Public Domain.
- * Ben Harris, 2002.
- */
-
-#ifndef _MACHINE_SWI_H_
-#define _MACHINE_SWI_H_
-
-#define SWI_OS_MASK	0xf00000
-#define SWI_OS_RISCOS	0x000000
-#define SWI_OS_RISCIX	0x800000
-#define SWI_OS_LINUX	0x900000
-#define SWI_OS_NETBSD	0xa00000
-#define SWI_OS_ARM	0xf00000
-
-#define SWI_IMB		0xf00000
-#define SWI_IMBrange	0xf00001
-
-#endif /* !_MACHINE_SWI_H_ */