Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/riscv/include Use c99 types. NFC.
details: https://anonhg.NetBSD.org/src/rev/f88b725bc334
branches: trunk
changeset: 370176:f88b725bc334
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Sep 21 06:34:30 2022 +0000
description:
Use c99 types. NFC.
diffstat:
sys/arch/riscv/include/pte.h | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (29 lines):
diff -r 8cddb9937f9d -r f88b725bc334 sys/arch/riscv/include/pte.h
--- a/sys/arch/riscv/include/pte.h Wed Sep 21 01:33:53 2022 +0000
+++ b/sys/arch/riscv/include/pte.h Wed Sep 21 06:34:30 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.6 2021/05/01 07:41:24 skrll Exp $ */
+/* $NetBSD: pte.h,v 1.7 2022/09/21 06:34:30 skrll Exp $ */
/*
* Copyright (c) 2014, 2019, 2021 The NetBSD Foundation, Inc.
@@ -38,15 +38,15 @@
#define PTE_PPN0 __BITS(18, 10)
#define PTE_PPN1 __BITS(27, 19)
#define PTE_PPN2 __BITS(53, 28)
-typedef __uint64_t pt_entry_t;
-typedef __uint64_t pd_entry_t;
+typedef uint64_t pt_entry_t;
+typedef uint64_t pd_entry_t;
#define atomic_cas_pte atomic_cas_64
#else /* Sv32 */
#define PTE_PPN __BITS(31, 10)
#define PTE_PPN0 __BITS(19, 10)
#define PTE_PPN1 __BITS(31, 20)
-typedef __uint32_t pt_entry_t;
-typedef __uint32_t pd_entry_t;
+typedef uint32_t pt_entry_t;
+typedef uint32_t pd_entry_t;
#define atomic_cas_pte atomic_cas_32
#endif
Home |
Main Index |
Thread Index |
Old Index