From: jsg Date: Sun, 29 Sep 2024 12:22:57 +0000 (+0000) Subject: remove unused cruft; ok kettenis@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=acea29828a9d2c4ae6e1eb36555fef5966b5eeef;p=openbsd remove unused cruft; ok kettenis@ --- diff --git a/sys/arch/arm64/include/pte.h b/sys/arch/arm64/include/pte.h index 8306b2b7e69..25a72baae6d 100644 --- a/sys/arch/arm64/include/pte.h +++ b/sys/arch/arm64/include/pte.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pte.h,v 1.8 2023/03/27 19:02:48 kettenis Exp $ */ +/* $OpenBSD: pte.h,v 1.9 2024/09/29 12:22:57 jsg Exp $ */ /* * Copyright (c) 2014 Dale Rahn * @@ -103,32 +103,4 @@ /* physical page mask */ #define PTE_RPGN (((1ULL << 48) - 1) & ~PAGE_MASK) -/* XXX */ -#ifndef _LOCORE -struct pte { - uint64_t pte; -}; - -typedef uint64_t pd_entry_t; /* L1 table entry */ -typedef uint64_t pt_entry_t; /* L2 table entry */ - -struct pv_node { -}; - -#endif /* _LOCORE */ - - -/// REWRITE -#define L2_L_SIZE 0x00010000 /* 64K */ -#define L2_L_OFFSET (L2_L_SIZE - 1) -#define L2_L_FRAME (~L2_L_OFFSET) -#define L2_L_SHIFT 16 - -#define L2_S_SIZE 0x00001000 /* 4K */ -#define L2_S_OFFSET (L2_S_SIZE - 1) -#define L2_S_FRAME (~L2_S_OFFSET) -#define L2_S_SHIFT 12 - -/// - #endif /* _ARM_PTE_H_ */