1 //
2 // Copyright (c) 2010-2024 Antmicro
3 //
4 // This file is licensed under the MIT License.
5 // Full license text is available in 'licenses/MIT.txt'.
6 //
7 using Endianess = ELFSharp.ELF.Endianess;
8 using Antmicro.Renode.Core;
9 using Antmicro.Renode.Peripherals.IRQControllers;
10 using System.Collections.Generic;
11 
12 namespace Antmicro.Renode.Peripherals.CPU
13 {
14     [GPIO(NumberOfInputs = 1)]
15     public partial class X86 : BaseX86
16     {
X86(string cpuType, IMachine machine, LAPIC lapic)17         public X86(string cpuType, IMachine machine, LAPIC lapic): base(cpuType, machine, lapic, CpuBitness.Bits32)
18         {
19         }
20 
21         public override string Architecture { get { return "i386"; } }
22 
23         public override string GDBArchitecture { get { return Architecture; } }
24 
25         // When no register features are passed, GDB will assume a default register layout, selected based on the architecture.
26         // Such layout is enough to make our stub implementation working.
27         public override List<GDBFeatureDescriptor> GDBFeatures { get { return new List<GDBFeatureDescriptor>(); } }
28 
29     }
30 }
31