Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch machine/efi.h: Add more memory descriptor attributes.



details:   https://anonhg.NetBSD.org/src/rev/aa364b8b6b1f
branches:  trunk
changeset: 369472:aa364b8b6b1f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Aug 20 09:09:06 2022 +0000

description:
machine/efi.h: Add more memory descriptor attributes.

diffstat:

 sys/arch/arm/include/efi.h  |  7 ++++++-
 sys/arch/ia64/include/efi.h |  7 ++++++-
 sys/arch/x86/include/efi.h  |  7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (63 lines):

diff -r 294037f35b95 -r aa364b8b6b1f sys/arch/arm/include/efi.h
--- a/sys/arch/arm/include/efi.h        Sat Aug 20 06:47:28 2022 +0000
+++ b/sys/arch/arm/include/efi.h        Sat Aug 20 09:09:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efi.h,v 1.1 2018/10/28 10:21:42 jmcneill Exp $   */
+/*     $NetBSD: efi.h,v 1.2 2022/08/20 09:09:06 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2004 Marcel Moolenaar
@@ -103,6 +103,11 @@
 #define        EFI_MD_ATTR_WP          0x0000000000001000UL
 #define        EFI_MD_ATTR_RP          0x0000000000002000UL
 #define        EFI_MD_ATTR_XP          0x0000000000004000UL
+#define        EFI_MD_ATTR_NV          0x0000000000008000UL
+#define        EFI_MD_ATTR_MORE_RELIABLE 0x0000000000010000UL
+#define        EFI_MD_ATTR_RO          0x0000000000020000UL
+#define        EFI_MD_ATTR_SP          0x0000000000040000UL
+#define        EFI_MD_ATTR_CPU_CRYPTO  0x0000000000080000UL
 #define        EFI_MD_ATTR_RT          0x8000000000000000UL
 };
 
diff -r 294037f35b95 -r aa364b8b6b1f sys/arch/ia64/include/efi.h
--- a/sys/arch/ia64/include/efi.h       Sat Aug 20 06:47:28 2022 +0000
+++ b/sys/arch/ia64/include/efi.h       Sat Aug 20 09:09:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efi.h,v 1.1 2006/04/07 14:21:18 cherry Exp $   */
+/*     $NetBSD: efi.h,v 1.2 2022/08/20 09:09:06 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2004 Marcel Moolenaar
@@ -84,6 +84,11 @@
 #define        EFI_MD_ATTR_WP          0x0000000000001000UL
 #define        EFI_MD_ATTR_RP          0x0000000000002000UL
 #define        EFI_MD_ATTR_XP          0x0000000000004000UL
+#define        EFI_MD_ATTR_NV          0x0000000000008000UL
+#define        EFI_MD_ATTR_MORE_RELIABLE 0x0000000000010000UL
+#define        EFI_MD_ATTR_RO          0x0000000000020000UL
+#define        EFI_MD_ATTR_SP          0x0000000000040000UL
+#define        EFI_MD_ATTR_CPU_CRYPTO  0x0000000000080000UL
 #define        EFI_MD_ATTR_RT          0x8000000000000000UL
 };
 
diff -r 294037f35b95 -r aa364b8b6b1f sys/arch/x86/include/efi.h
--- a/sys/arch/x86/include/efi.h        Sat Aug 20 06:47:28 2022 +0000
+++ b/sys/arch/x86/include/efi.h        Sat Aug 20 09:09:06 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efi.h,v 1.10 2022/04/01 06:49:17 skrll Exp $   */
+/*     $NetBSD: efi.h,v 1.11 2022/08/20 09:09:06 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2004 Marcel Moolenaar
@@ -104,6 +104,11 @@
 #define        EFI_MD_ATTR_WP          0x0000000000001000UL
 #define        EFI_MD_ATTR_RP          0x0000000000002000UL
 #define        EFI_MD_ATTR_XP          0x0000000000004000UL
+#define        EFI_MD_ATTR_NV          0x0000000000008000UL
+#define        EFI_MD_ATTR_MORE_RELIABLE 0x0000000000010000UL
+#define        EFI_MD_ATTR_RO          0x0000000000020000UL
+#define        EFI_MD_ATTR_SP          0x0000000000040000UL
+#define        EFI_MD_ATTR_CPU_CRYPTO  0x0000000000080000UL
 #define        EFI_MD_ATTR_RT          0x8000000000000000UL
 };
 



Home | Main Index | Thread Index | Old Index