Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/include spaces to tabs.



details:   https://anonhg.NetBSD.org/src/rev/18c4789aeeaa
branches:  trunk
changeset: 378200:18c4789aeeaa
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jul 26 06:43:53 2023 +0000

description:
spaces to tabs.

diffstat:

 sys/arch/aarch64/include/pmap_machdep.h |  28 +++++++++++++++-------------
 1 files changed, 15 insertions(+), 13 deletions(-)

diffs (86 lines):

diff -r 2adf5aa0630c -r 18c4789aeeaa sys/arch/aarch64/include/pmap_machdep.h
--- a/sys/arch/aarch64/include/pmap_machdep.h   Wed Jul 26 06:36:34 2023 +0000
+++ b/sys/arch/aarch64/include/pmap_machdep.h   Wed Jul 26 06:43:53 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_machdep.h,v 1.3 2023/04/20 08:28:03 skrll Exp $   */
+/*     $NetBSD: pmap_machdep.h,v 1.4 2023/07/26 06:43:53 skrll Exp $   */
 
 /*-
  * Copyright (c) 2022 The NetBSD Foundation, Inc.
@@ -64,9 +64,9 @@
 #define        NSEGPG          (1 << SEGLENGTH)
 
 
-#ifndef __BSD_PTENTRY_T__
+#ifndef        __BSD_PTENTRY_T__
 #define        __BSD_PTENTRY_T__
-#define        PRIxPTE         PRIx64
+#define        PRIxPTE         PRIx64
 #endif /* __BSD_PTENTRY_T__ */
 
 #define        KERNEL_PID      0
@@ -92,12 +92,14 @@ struct pmap_md {
 
 #define        pm_l0_pa        pm_md.pmd_l0_pa
 
-void pmap_md_pdetab_init(struct pmap *);
-void pmap_md_pdetab_fini(struct pmap *);
+void   pmap_md_pdetab_init(struct pmap *);
+void   pmap_md_pdetab_fini(struct pmap *);
 
-vaddr_t pmap_md_map_poolpage(paddr_t, size_t);
-paddr_t pmap_md_unmap_poolpage(vaddr_t, size_t);
-struct vm_page *pmap_md_alloc_poolpage(int);
+vaddr_t        pmap_md_map_poolpage(paddr_t, size_t);
+paddr_t        pmap_md_unmap_poolpage(vaddr_t, size_t);
+
+struct vm_page *
+       pmap_md_alloc_poolpage(int);
 
 bool   pmap_md_kernel_vaddr_p(vaddr_t);
 paddr_t        pmap_md_kernel_vaddr_to_paddr(vaddr_t);
@@ -140,7 +142,7 @@ struct pmap_page {
 static inline paddr_t
 pmap_l0pa(struct pmap *pm)
 {
-        return pm->pm_l0_pa;
+       return pm->pm_l0_pa;
 }
 
 #if defined(__PMAP_PRIVATE)
@@ -159,7 +161,7 @@ bool        pmap_md_ok_to_steal_p(const uvm_phy
 void   pmap_md_xtab_activate(pmap_t, struct lwp *);
 void   pmap_md_xtab_deactivate(pmap_t);
 
-vaddr_t pmap_md_direct_map_paddr(paddr_t);
+vaddr_t        pmap_md_direct_map_paddr(paddr_t);
 
 
 #ifdef MULTIPROCESSOR
@@ -239,7 +241,7 @@ static inline bool
 pte_wired_p(pt_entry_t pte)
 {
 
-        return (pte & LX_BLKPAG_OS_WIRED) != 0;
+       return (pte & LX_BLKPAG_OS_WIRED) != 0;
 }
 
 
@@ -247,7 +249,7 @@ static inline pt_entry_t
 pte_wire_entry(pt_entry_t pte)
 {
 
-        return pte | LX_BLKPAG_OS_WIRED;
+       return pte | LX_BLKPAG_OS_WIRED;
 }
 
 
@@ -255,7 +257,7 @@ static inline pt_entry_t
 pte_unwire_entry(pt_entry_t pte)
 {
 
-        return pte & ~LX_BLKPAG_OS_WIRED;
+       return pte & ~LX_BLKPAG_OS_WIRED;
 }
 
 



Home | Main Index | Thread Index | Old Index