1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 50 unchanged lines hidden (view full) --- 59 class ConfigTable; 60 } 61 62 void installSegDesc(ThreadContext *tc, SegmentRegIndex seg, 63 SegDescriptor desc, bool longmode); 64 65 /* memory mappings for KVMCpu in SE mode */ 66 const uint64_t syscallCodeVirtAddr = 0xffff800000000000; |
67 const uint64_t GDTVirtAddr = 0xffff800000001000; |
68 const uint64_t IDTVirtAddr = 0xffff800000002000; |
69 const uint64_t TSSVirtAddr = 0xffff800000003000; 70 const uint64_t TSSPhysAddr = 0x63000; 71 const uint64_t ISTVirtAddr = 0xffff800000004000; |
72 const uint64_t PFHandlerVirtAddr = 0xffff800000005000; |
73 const uint64_t MMIORegionVirtAddr = 0xffffc90000000000; 74 const uint64_t MMIORegionPhysAddr = 0xffff0000; |
75} 76 77class X86System : public System 78{ 79 public: 80 typedef X86SystemParams Params; 81 X86System(Params *p); 82 ~X86System(); --- 32 unchanged lines hidden --- |