Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode Make the usermode kernel compile again.
details: https://anonhg.NetBSD.org/src/rev/d9d7b9f90219
branches: trunk
changeset: 450306:d9d7b9f90219
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Apr 10 04:10:53 2019 +0000
description:
Make the usermode kernel compile again.
diffstat:
sys/arch/usermode/include/types.h | 3 +--
sys/arch/usermode/usermode/copy.c | 18 ++----------------
2 files changed, 3 insertions(+), 18 deletions(-)
diffs (55 lines):
diff -r c7a1d7924956 -r d9d7b9f90219 sys/arch/usermode/include/types.h
--- a/sys/arch/usermode/include/types.h Wed Apr 10 04:06:52 2019 +0000
+++ b/sys/arch/usermode/include/types.h Wed Apr 10 04:10:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.15 2019/04/06 03:06:28 thorpej Exp $ */
+/* $NetBSD: types.h,v 1.16 2019/04/10 04:10:53 thorpej Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -94,6 +94,5 @@
#define __HAVE_CPU_LWP_SETPRIVATE
#define __HAVE_MM_MD_KERNACC
#define __HAVE_COMPAT_NETBSD32
-#define __HAVE_UCAS_FULL
#endif /* !_USERMODE_TYPES_H_ */
diff -r c7a1d7924956 -r d9d7b9f90219 sys/arch/usermode/usermode/copy.c
--- a/sys/arch/usermode/usermode/copy.c Wed Apr 10 04:06:52 2019 +0000
+++ b/sys/arch/usermode/usermode/copy.c Wed Apr 10 04:10:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copy.c,v 1.10 2019/04/10 03:39:34 msaitoh Exp $ */
+/* $NetBSD: copy.c,v 1.11 2019/04/10 04:10:54 thorpej Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: copy.c,v 1.10 2019/04/10 03:39:34 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: copy.c,v 1.11 2019/04/10 04:10:54 thorpej Exp $");
#define __UFETCHSTORE_PRIVATE
#define __UCAS_PRIVATE
@@ -97,20 +97,6 @@
}
int
-_ucas_32(volatile uint32_t *uaddr, uint32_t old, uint32_t new, uint32_t *ret)
-{
- *ret = atomic_cas_32(uaddr, old, new);
-}
-
-#ifdef _LP64
-int
-_ucas_64(volatile uint64_t *uaddr, uint64_t old, uint64_t new, uint64_t *ret)
-{
- *ret = atomic_cas_64(uaddr, old, new);
-}
-#endif /* _LP64 */
-
-int
_ufetch_8(const uint8_t *uaddr, uint8_t *valp)
{
*valp = *uaddr;
Home |
Main Index |
Thread Index |
Old Index