system.hh (9292:e57c7d9736a5) system.hh (10299:bec0c5ffc323)
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

--- 47 unchanged lines hidden (view full) ---

56 {
57 class SMBiosTable;
58 }
59 namespace IntelMP
60 {
61 class FloatingPointer;
62 class ConfigTable;
63 }
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

--- 47 unchanged lines hidden (view full) ---

56 {
57 class SMBiosTable;
58 }
59 namespace IntelMP
60 {
61 class FloatingPointer;
62 class ConfigTable;
63 }
64
65 /* memory mappings for KVMCpu in SE mode */
66 const uint64_t syscallCodeVirtAddr = 0xffff800000000000;
67 const uint64_t syscallCodePhysAddr = 0x60000;
68 const uint64_t GDTVirtAddr = 0xffff800000001000;
69 const uint64_t GDTPhysAddr = 0x61000;
70 const uint64_t IDTVirtAddr = 0xffff800000002000;
71 const uint64_t IDTPhysAddr = 0x62000;
72 const uint64_t TSSVirtAddr = 0xffff800000003000;
73 const uint64_t TSSPhysAddr = 0x63000;
74 const uint64_t ISTVirtAddr = 0xffff800000004000;
75 const uint64_t ISTPhysAddr = 0x64000;
76
77 const uint64_t pageTablePhysAddr = 0x70000;
64}
65
66class X86System : public System
67{
68 public:
69 typedef X86SystemParams Params;
70 X86System(Params *p);
71 ~X86System();

--- 32 unchanged lines hidden ---
78}
79
80class X86System : public System
81{
82 public:
83 typedef X86SystemParams Params;
84 X86System(Params *p);
85 ~X86System();

--- 32 unchanged lines hidden ---