From a0389f707fd8f106c0c0527603e1f55ed21bfa4f Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Tue, 2 Oct 2018 08:43:25 -0400 Subject: [PATCH] Remove now unused PDX --- mmu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/mmu.h b/mmu.h index fdc9924..6cdd2f8 100644 --- a/mmu.h +++ b/mmu.h @@ -98,7 +98,6 @@ struct segdesc { #define PXMASK 0x1FF #define PXSHIFT(n) (PGSHIFT+(9*(n))) -#define PDX(va) (((uint64)(va) >> PDXSHIFT) & PXMASK) #define PX(n, va) ((((uint64) (va)) >> PXSHIFT(n)) & PXMASK) #define L_PML4 3