https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8d242c62297acc1884ebc6e0ff817dbc84591383

commit 8d242c62297acc1884ebc6e0ff817dbc84591383
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Tue May 23 22:29:21 2023 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sun Jun 4 21:40:04 2023 +0200

    [SDK] Add CONFIGURATION_TYPE definition back in arc.h
    
    The definition is also in xdk/iotypes.h and ntddk.h around _ARC_DDK_
    for compatibility, but arc.h should also be self-contained regarding
    ARC definitions.
---
 sdk/include/reactos/arc/arc.h | 49 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 48 insertions(+), 1 deletion(-)

diff --git a/sdk/include/reactos/arc/arc.h b/sdk/include/reactos/arc/arc.h
index 645d71141cf..0d3db518c70 100644
--- a/sdk/include/reactos/arc/arc.h
+++ b/sdk/include/reactos/arc/arc.h
@@ -97,7 +97,54 @@ typedef enum _CONFIGURATION_CLASS
     MaximumClass
 } CONFIGURATION_CLASS;
 
-// enum CONFIGURATION_TYPE is defined in ntddk.h
+// CONFIGURATION_TYPE is also defined in ntddk.h
+#ifndef _ARC_DDK_
+typedef enum _CONFIGURATION_TYPE
+{
+    ArcSystem,
+    CentralProcessor,
+    FloatingPointProcessor,
+    PrimaryIcache,
+    PrimaryDcache,
+    SecondaryIcache,
+    SecondaryDcache,
+    SecondaryCache,
+    EisaAdapter,
+    TcAdapter,
+    ScsiAdapter,
+    DtiAdapter,
+    MultiFunctionAdapter,
+    DiskController,
+    TapeController,
+    CdromController,
+    WormController,
+    SerialController,
+    NetworkController,
+    DisplayController,
+    ParallelController,
+    PointerController,
+    KeyboardController,
+    AudioController,
+    OtherController,
+    DiskPeripheral,
+    FloppyDiskPeripheral,
+    TapePeripheral,
+    ModemPeripheral,
+    MonitorPeripheral,
+    PrinterPeripheral,
+    PointerPeripheral,
+    KeyboardPeripheral,
+    TerminalPeripheral,
+    OtherPeripheral,
+    LinePeripheral,
+    NetworkPeripheral,
+    SystemMemory,
+    DockingInformation,
+    RealModeIrqRoutingTable,
+    RealModePCIEnumeration,
+    MaximumType
+} CONFIGURATION_TYPE, *PCONFIGURATION_TYPE;
+#endif /* _ARC_DDK_ */
 
 typedef struct _CONFIGURATION_COMPONENT
 {

Reply via email to