Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libnvmm Add CVS ids, and rename the PTE bits. No f...
details: https://anonhg.NetBSD.org/src/rev/5ab75fcb71f4
branches: trunk
changeset: 997687:5ab75fcb71f4
user: maxv <maxv%NetBSD.org@localhost>
date: Tue Mar 19 19:23:39 2019 +0000
description:
Add CVS ids, and rename the PTE bits. No functional change.
diffstat:
tests/lib/libnvmm/h_io_assist.c | 12 +++++++-----
tests/lib/libnvmm/h_io_assist_asm.S | 2 ++
tests/lib/libnvmm/h_mem_assist.c | 12 +++++++-----
tests/lib/libnvmm/h_mem_assist_asm.S | 2 ++
4 files changed, 18 insertions(+), 10 deletions(-)
diffs (70 lines):
diff -r 87b90c43d626 -r 5ab75fcb71f4 tests/lib/libnvmm/h_io_assist.c
--- a/tests/lib/libnvmm/h_io_assist.c Tue Mar 19 19:15:57 2019 +0000
+++ b/tests/lib/libnvmm/h_io_assist.c Tue Mar 19 19:23:39 2019 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: h_io_assist.c,v 1.4 2019/03/19 19:23:39 maxv Exp $ */
+
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -183,11 +185,11 @@
memset(L2, 0, PAGE_SIZE);
memset(L1, 0, PAGE_SIZE);
- L4[0] = PG_V | PG_RW | 0x4000;
- L3[0] = PG_V | PG_RW | 0x5000;
- L2[0] = PG_V | PG_RW | 0x6000;
- L1[0x2000 / PAGE_SIZE] = PG_V | PG_RW | 0x2000;
- L1[0x1000 / PAGE_SIZE] = PG_V | PG_RW | 0x1000;
+ L4[0] = PTE_P | PTE_W | 0x4000;
+ L3[0] = PTE_P | PTE_W | 0x5000;
+ L2[0] = PTE_P | PTE_W | 0x6000;
+ L1[0x2000 / PAGE_SIZE] = PTE_P | PTE_W | 0x2000;
+ L1[0x1000 / PAGE_SIZE] = PTE_P | PTE_W | 0x1000;
}
/* -------------------------------------------------------------------------- */
diff -r 87b90c43d626 -r 5ab75fcb71f4 tests/lib/libnvmm/h_io_assist_asm.S
--- a/tests/lib/libnvmm/h_io_assist_asm.S Tue Mar 19 19:15:57 2019 +0000
+++ b/tests/lib/libnvmm/h_io_assist_asm.S Tue Mar 19 19:23:39 2019 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: h_io_assist_asm.S,v 1.2 2019/03/19 19:23:39 maxv Exp $ */
+
/*
* Copyright (c) 2019 The NetBSD Foundation, Inc.
* All rights reserved.
diff -r 87b90c43d626 -r 5ab75fcb71f4 tests/lib/libnvmm/h_mem_assist.c
--- a/tests/lib/libnvmm/h_mem_assist.c Tue Mar 19 19:15:57 2019 +0000
+++ b/tests/lib/libnvmm/h_mem_assist.c Tue Mar 19 19:23:39 2019 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: h_mem_assist.c,v 1.7 2019/03/19 19:23:39 maxv Exp $ */
+
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -172,11 +174,11 @@
memset(L2, 0, PAGE_SIZE);
memset(L1, 0, PAGE_SIZE);
- L4[0] = PG_V | PG_RW | 0x4000;
- L3[0] = PG_V | PG_RW | 0x5000;
- L2[0] = PG_V | PG_RW | 0x6000;
- L1[0x2000 / PAGE_SIZE] = PG_V | PG_RW | 0x2000;
- L1[0x1000 / PAGE_SIZE] = PG_V | PG_RW | 0x1000;
+ L4[0] = PTE_P | PTE_W | 0x4000;
+ L3[0] = PTE_P | PTE_W | 0x5000;
+ L2[0] = PTE_P | PTE_W | 0x6000;
+ L1[0x2000 / PAGE_SIZE] = PTE_P | PTE_W | 0x2000;
+ L1[0x1000 / PAGE_SIZE] = PTE_P | PTE_W | 0x1000;
}
/* -------------------------------------------------------------------------- */
diff -r 87b90c43d626 -r 5ab75fcb71f4 tests/lib/libnvmm/h_mem_assist_asm.S
--- a/tests/lib/libnvmm/h_mem_assist_asm.S Tue Mar 19 19:15:57 2019 +0000
+++ b/tests/lib/libnvmm/h_mem_assist_asm.S Tue Mar 19 19:23:39 2019 +0000
@@ -1,3 +1,5 @@
+/* $NetBSD: h_mem_assist_asm.S,v 1.6 2019/03/19 19:23:39 maxv Exp $ */
+
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
* All rights reserved.
Home |
Main Index |
Thread Index |
Old Index