summaryrefslogtreecommitdiffhomepage
path: root/KernelKit/PCI/Database.hpp
blob: b709ac66019ebbbb04e246e1c60bb46b5a0ca183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 *	========================================================
 *
 *	hCore
 * 	Copyright XPX Corp, all rights reserved.
 *
 * 	========================================================
 */
#pragma once

#include <KernelKit/PCI/Device.hpp>
#include <NewKit/Defines.hpp>

namespace hCore {
    namespace Types {
        // https://wiki.osdev.org/PCI
        enum class PciDeviceKind : UChar {
            MassStorageController = 0x1,
            NetworkController = 0x2,
            DisplayController = 0x3,
            MultimediaController = 0x4,
            MemoryController = 0x5,
            Bridge = 0x6,
            CommunicationController = 0x7,
            GenericSystemPeripheral = 0x8,
            InputDeviceController = 0x9,
            DockingStation = 0xa,
            Processor = 0xb,
            SerialBusController = 0xc,
            WirelessController = 0xd,
            IntelligentController = 0xe,
            SatelliteCommunicationsController = 0xf,
            CoProcessor = 0x40,
            Unassgined = 0xf,
            Invalid = Unassgined,
        };
    } // namespace Types
} // namespace hCore