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 8 using System.Text; 9 using Antmicro.Renode.Utilities.Packets; 10 11 namespace Antmicro.Renode.Core.ACPI 12 { 13 [LeastSignificantByteFirst] 14 public struct RootSystemDescriptionPointer 15 { RootSystemDescriptionPointerAntmicro.Renode.Core.ACPI.RootSystemDescriptionPointer16 public RootSystemDescriptionPointer(uint address) 17 { 18 Signature = Encoding.ASCII.GetBytes("RSD PTR "); 19 Checksum = 0; 20 OEMID = null; 21 Revision = 0; 22 RsdtAddress = address; 23 } 24 25 [PacketField, Width(8)] 26 public byte[] Signature; 27 [PacketField] 28 public byte Checksum; 29 [PacketField, Width(6)] 30 public byte[] OEMID; 31 [PacketField] 32 public byte Revision; 33 [PacketField] 34 public uint RsdtAddress; 35 } 36 } 37