summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-10-24 20:29:14 +0000
committerpeter <peter@FreeBSD.org>2001-10-24 20:29:14 +0000
commit314a1d33625babdcfab9e14312bf6bdd6468edb7 (patch)
treebf9bde0f6829f75c2e9747018b1dd82fae1b367f /lib/libc/amd64
parenteb865e7656a79fe2bee573a132e157876fb0636e (diff)
downloadFreeBSD-src-314a1d33625babdcfab9e14312bf6bdd6468edb7.zip
FreeBSD-src-314a1d33625babdcfab9e14312bf6bdd6468edb7.tar.gz
De-orbit DEFS.h - the other arches do not use it, and it got replaced
with <machine/asm.h>. Reviewed by: bde
Diffstat (limited to 'lib/libc/amd64')
-rw-r--r--lib/libc/amd64/SYS.h2
-rw-r--r--lib/libc/amd64/gen/_setjmp.S2
-rw-r--r--lib/libc/amd64/gen/setjmp.S1
-rw-r--r--lib/libc/amd64/gen/sigsetjmp.S1
-rw-r--r--lib/libc/amd64/net/htonl.S2
-rw-r--r--lib/libc/amd64/net/htons.S2
-rw-r--r--lib/libc/amd64/net/ntohl.S2
-rw-r--r--lib/libc/amd64/net/ntohs.S2
-rw-r--r--lib/libc/amd64/sys/vfork.S1
9 files changed, 6 insertions, 9 deletions
diff --git a/lib/libc/amd64/SYS.h b/lib/libc/amd64/SYS.h
index ba56bce..6ef3136 100644
--- a/lib/libc/amd64/SYS.h
+++ b/lib/libc/amd64/SYS.h
@@ -39,7 +39,7 @@
*/
#include <sys/syscall.h>
-#include "DEFS.h"
+#include <machine/asm.h>
#define SYSCALL(x) 2: PIC_PROLOGUE; jmp PIC_PLT(HIDENAME(cerror)); \
ENTRY(__CONCAT(__sys_,x)); \
diff --git a/lib/libc/amd64/gen/_setjmp.S b/lib/libc/amd64/gen/_setjmp.S
index 2dde8d6..03a594c 100644
--- a/lib/libc/amd64/gen/_setjmp.S
+++ b/lib/libc/amd64/gen/_setjmp.S
@@ -49,7 +49,7 @@
* The previous signal state is NOT restored.
*/
-#include "DEFS.h"
+#include <machine/asm.h>
ENTRY(_setjmp)
movl 4(%esp),%eax
diff --git a/lib/libc/amd64/gen/setjmp.S b/lib/libc/amd64/gen/setjmp.S
index aec3d26..ed85036 100644
--- a/lib/libc/amd64/gen/setjmp.S
+++ b/lib/libc/amd64/gen/setjmp.S
@@ -49,7 +49,6 @@
* The previous signal state is restored.
*/
-#include "DEFS.h"
#include "SYS.h"
ENTRY(setjmp)
diff --git a/lib/libc/amd64/gen/sigsetjmp.S b/lib/libc/amd64/gen/sigsetjmp.S
index 2c71cb0..6fd1305 100644
--- a/lib/libc/amd64/gen/sigsetjmp.S
+++ b/lib/libc/amd64/gen/sigsetjmp.S
@@ -39,7 +39,6 @@
.asciz "$FreeBSD$"
#endif /* LIBC_RCS and not lint */
-#include "DEFS.h"
#include "SYS.h"
/*-
diff --git a/lib/libc/amd64/net/htonl.S b/lib/libc/amd64/net/htonl.S
index 551a262..af3354f 100644
--- a/lib/libc/amd64/net/htonl.S
+++ b/lib/libc/amd64/net/htonl.S
@@ -41,7 +41,7 @@
/* netorder = htonl(hostorder) */
-#include "DEFS.h"
+#include <machine/asm.h>
ENTRY(htonl)
movl 4(%esp),%eax
diff --git a/lib/libc/amd64/net/htons.S b/lib/libc/amd64/net/htons.S
index 8f21d42..c78b108 100644
--- a/lib/libc/amd64/net/htons.S
+++ b/lib/libc/amd64/net/htons.S
@@ -41,7 +41,7 @@
/* netorder = htons(hostorder) */
-#include "DEFS.h"
+#include <machine/asm.h>
ENTRY(htons)
movzwl 4(%esp),%eax
diff --git a/lib/libc/amd64/net/ntohl.S b/lib/libc/amd64/net/ntohl.S
index 13328a9..3a2c202 100644
--- a/lib/libc/amd64/net/ntohl.S
+++ b/lib/libc/amd64/net/ntohl.S
@@ -41,7 +41,7 @@
/* hostorder = ntohl(netorder) */
-#include "DEFS.h"
+#include <machine/asm.h>
ENTRY(ntohl)
movl 4(%esp),%eax
diff --git a/lib/libc/amd64/net/ntohs.S b/lib/libc/amd64/net/ntohs.S
index 70a42d7..110faf7 100644
--- a/lib/libc/amd64/net/ntohs.S
+++ b/lib/libc/amd64/net/ntohs.S
@@ -41,7 +41,7 @@
/* hostorder = ntohs(netorder) */
-#include "DEFS.h"
+#include <machine/asm.h>
ENTRY(ntohs)
movzwl 4(%esp),%eax
diff --git a/lib/libc/amd64/sys/vfork.S b/lib/libc/amd64/sys/vfork.S
index ed2f152..c69ef0f 100644
--- a/lib/libc/amd64/sys/vfork.S
+++ b/lib/libc/amd64/sys/vfork.S
@@ -39,7 +39,6 @@
.asciz "$FreeBSD$"
#endif /* SYSLIBC_RCS and not lint */
-#include "DEFS.h"
#include "SYS.h"
/*
OpenPOWER on IntegriCloud