1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 48 unchanged lines hidden (view full) --- 57 58#ifndef __ARCH_X86_PAGETABLE_HH__ 59#define __ARCH_X86_PAGETABLE_HH__ 60 61#include <iostream> 62#include <string> 63 64#include "sim/host.hh" |
65#include "base/bitunion.hh" |
66#include "base/misc.hh" 67 68class Checkpoint; 69 70namespace X86ISA 71{ |
72 BitUnion64(VAddr) 73 Bitfield<20, 12> longl1; 74 Bitfield<29, 21> longl2; 75 Bitfield<38, 30> longl3; 76 Bitfield<47, 39> longl4; |
77 |
78 Bitfield<20, 12> pael1; 79 Bitfield<29, 21> pael2; 80 Bitfield<31, 30> pael3; 81 82 Bitfield<21, 12> norml1; 83 Bitfield<31, 22> norml2; 84 EndBitUnion(VAddr) 85 |
86 struct TlbEntry 87 { 88 // The base of the physical page. 89 Addr paddr; 90 91 // The beginning of the virtual page this entry maps. 92 Addr vaddr; 93 // The size of the page this entry represents. --- 33 unchanged lines hidden --- |