mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 18:21:20 +00:00
CAFE, BEEF?
This commit is contained in:
parent
18f5463671
commit
0e1cc09020
2 changed files with 15 additions and 3 deletions
|
|
@ -63,14 +63,16 @@ namespace Cosmos.HAL
|
|||
Intel = 0x8086,
|
||||
AMD = 0x1022,
|
||||
VMWare = 0x15AD,
|
||||
Bochs = 0x1234
|
||||
Bochs = 0x1234,
|
||||
VirtualBox = 0x80EE
|
||||
}
|
||||
|
||||
public enum DeviceID
|
||||
{
|
||||
SVGAIIAdapter = 0x0405,
|
||||
PCNETII = 0x2000,
|
||||
BGA = 0x1111
|
||||
BGA = 0x1111,
|
||||
VBVGA = 0xBEEF
|
||||
}
|
||||
|
||||
public class PCI
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ namespace Cosmos.HAL
|
|||
default:
|
||||
return "VMware Unknown device";
|
||||
}
|
||||
case 0x8086: //Intel
|
||||
case 0x8086: //Intel 80EE
|
||||
switch (device.DeviceID)
|
||||
{
|
||||
case 0x7190:
|
||||
|
|
@ -290,6 +290,16 @@ namespace Cosmos.HAL
|
|||
default:
|
||||
return "Intel Unknown device";
|
||||
}
|
||||
case 0x80EE: //VirtualBox
|
||||
switch (device.DeviceID)
|
||||
{
|
||||
case 0xBEEF:
|
||||
return "VirtualBox Graphics Adapter";
|
||||
case 0xCAFE:
|
||||
return "VirtualBox Guest Service";
|
||||
default:
|
||||
return "VirtualBox Unknown device";
|
||||
}
|
||||
default:
|
||||
return "Unknown device";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue