Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

873 lines
24 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. 1394wmi.mof
  5. Abstract:
  6. This file defines all of the MOF classes supported by 1394 controllers
  7. Revision History:
  8. --*/
  9. // #define MOFRESOURCENAME L"1394WMI"
  10. [Dynamic,
  11. Provider("WMIProv"),
  12. WMI,
  13. Description("IEEE1394 Standard Bus Driver Information"),
  14. GuidName1("GUID_BUS1394_WMI_STD_DATA"),
  15. GuidName2("MS1394_BusDriverInformationGuid"),
  16. HeaderName("BUS1394_WMI_STD_DATA"),
  17. guid("{099132c8-68d9-4f94-b5a6-a7a7e3490ec8}"),
  18. locale("MS\\0x409")
  19. ]
  20. class MS1394_BusDriverInformation
  21. {
  22. [key, read]
  23. string InstanceName;
  24. [read]
  25. boolean Active;
  26. [WmiDataId(1),
  27. DefineDataId("BUS1394_WMI_DDI_VERSION"),
  28. read,
  29. Description("Bus Driver DDI Version." )
  30. ]
  31. uint32 BusDDIVersion;
  32. [WmiDataId(2),
  33. DefineDataId("BUS1394_WMI_MAX_PHY_SPEED_SUPPORTED"),
  34. read,
  35. Description("Maximum phy speed bus driver can handle." )
  36. ]
  37. uint32 MaxPhySpeed;
  38. [WmiDataId(3),
  39. DefineDataId("BUS1394_WMI_CONTROLLER_EUI_64"),
  40. read,
  41. Description("EUI-64 for Local Host COntroller of this bus." )
  42. ]
  43. uint64 LocalHostControllerEUI;
  44. [WmiDataId(4),
  45. DefineDataId("BUS1394_WMI_CONFIG_ROM_SIZE"),
  46. read,
  47. Description("Configuration Rom Size." )
  48. ]
  49. uint32 ConfigRomSize;
  50. [WmiDataId(5),
  51. DefineDataId("BUS1394_WMI_CONFIG_ROM"),
  52. read,
  53. Description("Congiguration Rom Bus driver exposes on the bus." )
  54. ]
  55. uint8 ConfigRom[1024];
  56. [WmiDataId(6),
  57. read,
  58. Description("Reserved for future use")
  59. ]
  60. boolean Reserved1;
  61. };
  62. [Dynamic,
  63. Provider("WMIProv"),
  64. WMI,
  65. Description("IEEE1394 Bus Information"),
  66. GuidName1("GUID_BUS1394_WMI_BUS_DATA"),
  67. GuidName2("MS1394_BusInformationGuid"),
  68. HeaderName("BUS1394_WMI_BUS_DATA"),
  69. guid("{21dab3c0-1452-49d0-bf25-c977e11ee7e9}"),
  70. locale("MS\\0x409")
  71. ]
  72. class MS1394_BusInformation
  73. {
  74. [key, read]
  75. string InstanceName;
  76. [read]
  77. boolean Active;
  78. [WmiDataId(1),
  79. DefineDataId("BUS1394_WMI_GENERATION_COUNT"),
  80. read,
  81. Description("Bus Generation." )
  82. ]
  83. uint32 Generation;
  84. [WmiDataId(2),
  85. DefineDataId("BUS1394_WMI_LOCAL_HOST_SELF_ID"),
  86. read,
  87. Description("Local Host Self ID packet" )
  88. ]
  89. uint32 LocalHostSelfId[4];
  90. [WmiDataId(3),
  91. DefineDataId("BUS1394_WMI_TOPOLOGY_MAP"),
  92. read,
  93. Description("Bus Topology Map." )
  94. ]
  95. uint32 TopologyMap[256];
  96. [WmiDataId(4),
  97. DefineDataId("BUS1394_WMI_TREE_TOPOLOGY_MAP"),
  98. read,
  99. Description("Bus Tree Topology Map." )
  100. ]
  101. uint32 TreeTopologyMap[64];
  102. [WmiDataId(5),
  103. read,
  104. Description("Reserved for future use")
  105. ]
  106. boolean Reserved1;
  107. };
  108. [Dynamic,
  109. Provider("WMIProv"),
  110. WMI,
  111. Description("IEEE1394 Bus Error Information"),
  112. GuidName1("GUID_BUS1394_WMI_ERROR_DATA"),
  113. GuidName2("MS1394_BusErrorInformationGuid"),
  114. HeaderName("BUS1394_WMI_ERROR_DATA"),
  115. guid("{2c9d0f26-5e24-4369-ba8e-3298b55f3d71}"),
  116. locale("MS\\0x409")
  117. ]
  118. class MS1394_BusErrorInformation
  119. {
  120. [key, read]
  121. string InstanceName;
  122. [read]
  123. boolean Active;
  124. [WmiDataId(1),
  125. DefineDataId("BUS1394_WMI_ERROR_DATA_GENERATION_COUNT"),
  126. read,
  127. Description("Bus Generation." )
  128. ]
  129. uint32 Generation;
  130. [WmiDataId(2),
  131. DefineDataId("BUS1394_WMI_NUMBER_OF_UNPOWERED_DEVICES"),
  132. read,
  133. Description("Number of Devices we didnt have enough power budget to power." )
  134. ]
  135. uint32 NumberOfUnpoweredDevices;
  136. [WmiDataId(3),
  137. DefineDataId("BUS1394_WMI_SELF_ID_PACKETS_OF_UNPOWERED_DEVICES"),
  138. read,
  139. Description("SelfIds of Devices we didnt have enough power budget to power." )
  140. ]
  141. uint32 UnpoweredDevices[63];
  142. [WmiDataId(4),
  143. DefineDataId("BUS1394_WMI_NUMBER_OF_NONENUMERATED_DEVICES"),
  144. read,
  145. Description("Number of Devices we couldnt enumerate." )
  146. ]
  147. uint32 NumberOfNonEnumeratedDevices;
  148. [WmiDataId(5),
  149. DefineDataId("BUS1394_WMI_SELF_ID_PACKETS_OF_NON_ENUMERATED_DEVICES"),
  150. read,
  151. Description("SelfIds of Devices we couldnt enumerate" )
  152. ]
  153. uint32 NonEnumeratedDevices[63];
  154. [WmiDataId(6),
  155. read,
  156. Description("Reserved for future use")
  157. ]
  158. boolean Reserved1;
  159. };
  160. [Dynamic,
  161. Provider("WMIProv"),
  162. WMI,
  163. Description("IEEE1394 Bus Device Enumeration Control"),
  164. GuidName1("GUID_BUS1394_WMI_ENUMERATION_CONTROL"),
  165. GuidName2("MS1394_BusDeviceEnumerationControlGuid"),
  166. HeaderName("BUS1394_WMI_DEVICE_ENUMERATION_CONTROL_DATA"),
  167. guid("{fb7f2114-d577-45b6-9c71-bb1237ce00bc}"),
  168. locale("MS\\0x409")
  169. ]
  170. class MS1394_BusDeviceEnumerationControl
  171. {
  172. [key, read]
  173. string InstanceName;
  174. [read]
  175. boolean Active;
  176. [read, write, WmiDataId(1),
  177. DefineBitMap{"BUS1394_WMI_ENUM_CONTROL_FLAG_DISABLE_ALL_ENUMERATION",
  178. "BUS1394_WMI_ENUM_CONTROL_FLAG_ENABLE_ALL_ENUMERATION"},
  179. BitMap{"Disable All Enumeration",
  180. "Enable All Enumeration"},
  181. BitValues{"0","1"},
  182. DefineDataId("BUS1394_WMI_ENUM_CONTROL_FLAGS"),
  183. Description("Enumeration Control Flags" )
  184. ]
  185. uint32 Flags;
  186. [WmiDataId(2),
  187. read, write,
  188. Description("Number Of Elements")
  189. ]
  190. uint32 NumberOfElements;
  191. //
  192. // for UNIT_KEYS, HighPart is UnitSpecId, LowPart is UnitSwVersion
  193. //
  194. [WmiDataId(3),
  195. DefineDataId("BUS1394_WMI_ENUM_CONTROL_EXCLUSION_ELEMENT_TYPE"),
  196. read, write,
  197. Values{"Unit Spec Keys",
  198. "EUI 64",
  199. "Physical Port Number"},
  200. DefineValues{"BUS1394_WMI_ENUM_CONTROL_TYPE_UNIT_KEYS",
  201. "BUS1394_WMI_ENUM_CONTROL_TYPE_EUI_64",
  202. "BUS1394_WMI_ENUM_CONTROL_TYPE_PHYSICAL_PORT_NUMBER"},
  203. ValueMap{"0",
  204. "1",
  205. "2"},
  206. Description("Element Type." )
  207. ]
  208. uint32 ExclusionElementType[63];
  209. [WmiDataId(4),
  210. read, write,
  211. Description("Exclusion Element Flags")
  212. ]
  213. uint32 ExclusionElementFlags[63];
  214. [WmiDataId(5),
  215. read, write,
  216. Description("Exclusion Element List")
  217. ]
  218. uint64 ExclusionElementList[63];
  219. [WmiDataId(6),
  220. read,
  221. Description("Reserved for future use")
  222. ]
  223. boolean Reserved1;
  224. };
  225. [Dynamic,
  226. Provider("WMIProv"),
  227. WMI,
  228. Description("IEEE1394 Bus Event Notification"),
  229. GuidName1("GUID_BUS1394_WMI_EVENT_NOTIFICATION"),
  230. GuidName2("MS1394_BusEventNotificationGuid"),
  231. HeaderName("BUS1394_WMI_EVENT_NOTIFICATION"),
  232. guid("{247e7c4a-8dc0-441f-8e04-0f1a07b73e5e}"),
  233. locale("MS\\0x409")
  234. ]
  235. class MS1394_BusEventNotification
  236. {
  237. [key, read]
  238. string InstanceName;
  239. [read]
  240. boolean Active;
  241. [WmiDataId(1),
  242. DefineDataId("DEVICE1394_WMI_NOTIFICATION_BUS_GENERATION"),
  243. read,
  244. Description("Bus Generation." )
  245. ]
  246. uint32 BusGeneration;
  247. [WmiDataId(2),
  248. DefineDataId("BUS1394_WMI_NOTIFICATION_TYPE"),
  249. read,
  250. WmiEvent,
  251. Values{"Bus Reset Event",
  252. "Bus Reset Storm Error Event"},
  253. DefineValues{"BUS1394_EVENT_NOTIFICATION_TYPE_BUS_RESET",
  254. "BUS1394_EVENT_NOTIFICATION_TYPE_BUS_RESET_STORM"},
  255. ValueMap{"0",
  256. "1"},
  257. Description("Notification Type." )
  258. ]
  259. uint32 Type;
  260. };
  261. //
  262. // Host controller Driver definitions
  263. //
  264. [Dynamic,
  265. Provider("WMIProv"),
  266. WMI,
  267. Description("IEEE1394 Standard Host Controller Driver Information"),
  268. GuidName1("GUID_PORT1394_WMI_STD_DATA"),
  269. GuidName2("MS1394_PortDriverInformationGuid"),
  270. HeaderName("PORT1394_WMI_STD_DATA"),
  271. guid("{fae13270-f0e0-47c2-b1f1-0ac2e4b90dfe}"),
  272. locale("MS\\0x409")
  273. ]
  274. class MS1394_PortDriverInformation
  275. {
  276. [key, read]
  277. string InstanceName;
  278. [read]
  279. boolean Active;
  280. [WmiDataId(1),
  281. DefineDataId("PORT1394_WMI_LINK_SPEED"),
  282. read,
  283. Description("Link Speed." )
  284. ]
  285. uint32 LinkSpeed;
  286. [WmiDataId(2),
  287. DefineDataId("PORT1394_WMI_PHY_SPEED"),
  288. read,
  289. Description("Phy Speed." )
  290. ]
  291. uint32 PhySpeed;
  292. [WmiDataId(3),
  293. DefineDataId("PORT1394_WMI_NUMBER_OF_PORTS"),
  294. read,
  295. Description("Number of phy ports present" )
  296. ]
  297. uint32 NumberOfPhysicalPorts;
  298. [WmiDataId(4),
  299. DefineDataId("PORT1394_WMI_MAX_ASYNC_WRITE_PACKET"),
  300. read,
  301. Description("Maximum Write Asynchronous packet size." )
  302. ]
  303. uint32 MaxAsyncWritePacket;
  304. [WmiDataId(5),
  305. DefineDataId("PORT1394_WMI_MAX_ASYNC_READ_PACKET"),
  306. read,
  307. Description("Maximum Read Asynchronous packet size." )
  308. ]
  309. uint32 MaxAsyncReadPacket;
  310. [WmiDataId(6),
  311. DefineDataId("PORT1394_WMI_NUMBER_OF_ISOCH_TX_DMA_CONTEXTS"),
  312. read,
  313. Description("Number of Isochronous Transmit DMA engines." )
  314. ]
  315. uint32 NumberOfIsochTxDmaContexts;
  316. [WmiDataId(7),
  317. DefineDataId("PORT1394_WMI_NUMBER_OF_ISOCH_RX_DMA_CONTEXTS"),
  318. read,
  319. Description("Number of Isochronous Receive DMA engines." )
  320. ]
  321. uint32 NumberOfIsochRxDmaContexts;
  322. [WmiDataId(8),
  323. DefineDataId("PORT1394_WMI_NUMBER_OF_RESPONSE_WORKERS"),
  324. read,
  325. Description("Number of Outstanding Response Transmit packets we can handle." )
  326. ]
  327. uint32 NumberOfResponseWorkers;
  328. [WmiDataId(9),
  329. DefineDataId("PORT1394_WMI_NUMBER_OF_TRANSMIT_WORKERS"),
  330. read,
  331. Description("Maximum Number of Outstanding Transmit requests." )
  332. ]
  333. uint32 NumberOfTransmitWorkers;
  334. [WmiDataId(10),
  335. DefineDataId("PORT1394_WMI_RECEIVE_BUFFER_SIZE"),
  336. read,
  337. Description("General receive request buffer size." )
  338. ]
  339. uint32 GeneralAsyncReceiveRequestBufferSize;
  340. [WmiDataId(11),
  341. DefineDataId("PORT1394_WMI_RESPONSE_BUFFER_SIZE"),
  342. read,
  343. Description("General receive response buffer size." )
  344. ]
  345. uint32 GeneralAsyncReceiveResponseBufferSize;
  346. [WmiDataId(12),
  347. DefineDataId("PORT1394_WMI_POWER_DECIWATTS_SUPPLIED"),
  348. read,
  349. Description("Number of deciWatts supplied to the bus." )
  350. ]
  351. uint32 DeciWattsSupplied;
  352. [WmiDataId(13),
  353. DefineDataId("PORT1394_WMI_POWER_DECIVOLTS_SUPPLIED"),
  354. read,
  355. Description("Number of deciVolts supplied to the bus." )
  356. ]
  357. uint32 DeciVoltsSupplied;
  358. [read, WmiDataId(14),
  359. DefineBitMap{"SUPPORTS_PACKET_ISOCH", "SUPPORTS_STREAM_ISOCH",
  360. "SUPPORTS_ISO_HEADER_INSERTION","SUPPORTS_FIXED_PACKET_ISO_STRIPPING",
  361. "SUPPORTS_VARIABLE_PACKET_ISO_STRIPPING","SUPPORTS_BUS_CSR_IN_HARDWARE"},
  362. BitMap{"Supports Packet ISOCH", "Supports Stream ISOCH",
  363. "Supports Iso Header Insertion","Supports Fixed Packet Iso Stripping",
  364. "Supports Variable Packet Iso Stripping","Supports Bus Csr In Hardware"},
  365. BitValues{"0","1","2","3","4","5"},
  366. DefineDataId("PORT1394_WMI_CONTROLLER_CAPABILITIES"),
  367. Description("Features this host controller supports." )
  368. ]
  369. uint32 Capabilities;
  370. [WmiDataId(15),
  371. DefineDataId("PORT1394_WMI_EUI_64"),
  372. read,
  373. Description("Globally unique 64 bit identifier for this host controller." )
  374. ]
  375. uint64 ControllerEUI;
  376. [WmiDataId(16),
  377. read,
  378. Values{"OHCI Version 1.0",
  379. "OHCI Version 1.1",
  380. "OHCI HW_Version 1.2"},
  381. DefineValues{"HW_OHCI_VERSION_1_0", "HW_OHCI_VERSION_1_1", "HW_OHCI_VERSION_1_2"},
  382. ValueMap{"0x1","0x2","0x3"},
  383. DefineDataId("PORT1394_WMI_HW_OHCI_VERSION"),
  384. Description("OHCI Revision")
  385. ]
  386. uint32 HwOhciVersion;
  387. [WmiDataId(17),
  388. DefineDataId("PORT1394_WMI_HW_PHY_VERSION"),
  389. read,
  390. Values{"Phy Version 1394-1995",
  391. "Phy Version 1394a-2000"},
  392. DefineValues{"HW_PHY_VERSION_1394_1995","HW_PHY_VERSION_1394A"},
  393. ValueMap{"0x1","0x2"},
  394. Description("PHY Revision")
  395. ]
  396. uint32 HwPhyVersion;
  397. [WmiDataId(18),
  398. read,
  399. Description("Reserved for future use")
  400. ]
  401. boolean Reserved1;
  402. };
  403. [Dynamic,
  404. Provider("WMIProv"),
  405. WMI,
  406. Description("IEEE1394 Host Controller Error Information"),
  407. GuidName1("GUID_PORT1394_WMI_ERROR_DATA"),
  408. GuidName2("MS1394_PortErrorInformationGuid"),
  409. HeaderName("PORT1394_WMI_ERROR_DATA"),
  410. guid("{09ee6a0d-c0e4-43b1-8e25-7c0fe3d28fc0}"),
  411. locale("MS\\0x409")
  412. ]
  413. class MS1394_PortErrorInformation
  414. {
  415. [key, read]
  416. string InstanceName;
  417. [read]
  418. boolean Active;
  419. [read, write, WmiDataId(1),
  420. DefineBitMap{"PORT1394_ERROR_BUS_RESET_STORM",
  421. "PORT1394_ERROR_PHYSICAL_CHIP_NOT_ACCESSIBLE"},
  422. BitMap{"Bus Reset Storm",
  423. "Physical Chip Access Error"},
  424. BitValues{"0","1"},
  425. DefineDataId("PORT1394_ERROR_FLAGS"),
  426. Description("Controller Error Flags" )
  427. ]
  428. uint32 ErrorFlags;
  429. [WmiDataId(2),
  430. read,
  431. Description("Reserved for future use")
  432. ]
  433. boolean Reserved1;
  434. };
  435. [WMI,
  436. Description("IEEE1394 Host Controller Vendor Register Access"),
  437. GuidName1("GUID_PORT1394_WMI_VENDOR_REGISTER_ACCESS"),
  438. GuidName2("MS1394_PortVendorRegisterAccessGuid"),
  439. HeaderName("PORT1394_WMI_VENDOR_REGISTER_ACCESS"),
  440. guid("{0211cbd9-6a7a-4464-88f6-1cf81463b1fc}"),
  441. locale("MS\\0x409")
  442. ]
  443. class MS1394_PortVendorRegisterAccess
  444. {
  445. [WmiDataId(1),
  446. DefineDataId("PORT1394_WMI_NUMBER_OF_VENDOR_REGISTERS"),
  447. read, write,
  448. Description("Register to operate on." )
  449. ]
  450. uint32 NumberOfRegisters;
  451. [WmiDataId(2),
  452. DefineDataId("PORT1394_WMI_VENDOR_REGISTER_SIZE"),
  453. read,
  454. Description("Register sizes." )
  455. ]
  456. uint32 RegisterSize[10];
  457. [WmiDataId(3),
  458. DefineDataId("PORT1394_WMI_VENDOR_REGISTER_OPERATION"),
  459. read, write,
  460. Values{"Register Read",
  461. "Register Write"},
  462. DefineValues{"PORT1394_WMI_READ_VENDOR_REGISTER",
  463. "PORT1394_WMI_WRITE_VENDOR_REGISTER"},
  464. ValueMap{"0",
  465. "1"},
  466. Description("Register operation." )
  467. ]
  468. uint32 RegisterOperation[10];
  469. [WmiDataId(4),
  470. DefineDataId("PORT1394_WMI_VENDOR_REGISTER_BASE"),
  471. read, write,
  472. Description("Register base offset." )
  473. ]
  474. uint32 RegisterBase[10];
  475. [WmiDataId(5),
  476. DefineDataId("PORT1394_WMI_VENDOR_REGISTER_DATA"),
  477. read, write,
  478. Description("Register data." )
  479. ]
  480. uint64 RegisterData[10];
  481. [WmiDataId(6),
  482. read,
  483. Description("Reserved for future use")
  484. ]
  485. boolean Reserved1;
  486. };
  487. [WMI,
  488. Description("IEEE1394 Host Controller Vendor Register Access"),
  489. guid("{0211cbd9-6a7a-4464-88f6-1cf81463b1fc}")
  490. ]
  491. class MS1394_PortVendorRegisterAccessMethods
  492. {
  493. [WmiMethodId(1),
  494. Implemented,
  495. Description(" ")]
  496. void AccessVendorSpace([in, out] MS1394_PortVendorRegisterAccess RegisterData);
  497. };
  498. //
  499. // DEVICE INFORMATION
  500. //
  501. [Dynamic,
  502. Provider("WMIProv"),
  503. WMI,
  504. Description("IEEE1394 Standard Device Information"),
  505. GuidName1("GUID_DEVICE1394_WMI_STD_DATA"),
  506. GuidName2("MS1394_DeviceInformationGuid"),
  507. HeaderName("DEVICE1394_WMI_STD_DATA"),
  508. guid("{c9299396-3553-4d48-ab3a-8bfc833067fc}"),
  509. locale("MS\\0x409")
  510. ]
  511. class MS1394_DeviceInformation
  512. {
  513. [key, read]
  514. string InstanceName;
  515. [read]
  516. boolean Active;
  517. [WmiDataId(1),
  518. DefineDataId("DEVICE1394_WMI_CURRENT_GENERATION"),
  519. read,
  520. Description("Current Generation." )
  521. ]
  522. uint32 Generation;
  523. [WmiDataId(2),
  524. DefineDataId("DEVICE1394_WMI_TYPE"),
  525. read,
  526. Values{"Physical Device",
  527. "Virtual Device"},
  528. DefineValues{"DEVICE_TYPE_PHYSICAL",
  529. "DEVICE_TYPE_VIRTUAL"},
  530. ValueMap{"0",
  531. "1"},
  532. Description("Device Type")
  533. ]
  534. uint32 DeviceType;
  535. [WmiDataId(3),
  536. DefineDataId("DEVICE1394_WMI_PHY_SPEED"),
  537. read,
  538. Description("Phy Speed." )
  539. ]
  540. uint32 PhySpeed;
  541. [WmiDataId(4),
  542. DefineDataId("DEVICE1394_WMI_NODE_ADDRESS"),
  543. read,
  544. Description("Node Address." )
  545. ]
  546. uint16 NodeAddress;
  547. [WmiDataId(5),
  548. DefineDataId("DEVICE1394_WMI_POWERCLASS"),
  549. read,
  550. Values{"Power Class Not Need Not Repeat",
  551. "Power Class Self Power Provide 15W",
  552. "Power Class Self Power Provide 30W",
  553. "Power Class Self Power Provide 45W",
  554. "Power Class Maybe Powered Upto 1W",
  555. "Power Class Is Powered Upto 1W Needs 2W",
  556. "Power Class Is Powered Upto 1W Needs 5W",
  557. "Power Class Is Powered Upto 1W Needs_9W"},
  558. DefineValues{"POWER_CLASS_NOT_NEED_NOT_REPEAT",
  559. "POWER_CLASS_SELF_POWER_PROVIDE_15W",
  560. "POWER_CLASS_SELF_POWER_PROVIDE_30W",
  561. "POWER_CLASS_SELF_POWER_PROVIDE_45W",
  562. "POWER_CLASS_MAYBE_POWERED_UPTO_1W",
  563. "POWER_CLASS_IS_POWERED_UPTO_1W_NEEDS_2W",
  564. "POWER_CLASS_IS_POWERED_UPTO_1W_NEEDS_5W",
  565. "POWER_CLASS_IS_POWERED_UPTO_1W_NEEDS_9W"},
  566. ValueMap{"0",
  567. "1",
  568. "2",
  569. "3",
  570. "4",
  571. "5",
  572. "6",
  573. "7"},
  574. Description("Device Power Class")
  575. ]
  576. uint32 PowerClass;
  577. [WmiDataId(6),
  578. DefineDataId("DEVICE1394_WMI_PHYSICAL_DELAY"),
  579. read,
  580. Description("Physical two way delay to the device, in micro seconds." )
  581. ]
  582. uint32 PhyDelay;
  583. [WmiDataId(7),
  584. DefineDataId("DEVICE1394_WMI_SELF_ID_PACKET"),
  585. read,
  586. Description("Self Id Packet for this Device." )
  587. ]
  588. uint32 SelfId[4];
  589. [WmiDataId(8),
  590. DefineDataId("DEVICE1394_WMI_EUI_64"),
  591. read,
  592. Description("Globally unique 64 bit identifier for this Device." )
  593. ]
  594. uint64 DeviceEUI;
  595. [WmiDataId(9),
  596. DefineDataId("DEVICE1394_WMI_CONFIG_ROM"),
  597. read,
  598. Description("Configuration Rom BusInfoBlock and Root Directory" )
  599. ]
  600. uint32 ConfigRomHeader[32];
  601. [WmiDataId(10),
  602. DefineDataId("DEVICE1394_WMI_UNIT_DIRECTORY"),
  603. read,
  604. Description("Unit Directory" )
  605. ]
  606. uint32 UnitDirectory[32];
  607. [WmiDataId(11),
  608. read,
  609. Description("Reserved for future use")
  610. ]
  611. boolean Reserved1;
  612. };
  613. //
  614. // Device Sharing Apis
  615. //
  616. [Dynamic,
  617. Provider("WMIProv"),
  618. WMI,
  619. Description("IEEE1394 Device Access Properties"),
  620. GuidName1("GUID_DEVICE1394_WMI_ACCESS_DATA"),
  621. GuidName2("MS1394_DeviceAccessInformationGuid"),
  622. HeaderName("DEVICE1394_WMI_ACCESS_DATA"),
  623. guid("{a6fd3242-960c-4d9e-9379-43a8b358224a}"),
  624. locale("MS\\0x409")
  625. ]
  626. class MS1394_DeviceAccessInformation
  627. {
  628. [key, read]
  629. string InstanceName;
  630. [read]
  631. boolean Active;
  632. [WmiDataId(1),
  633. DefineDataId("DEVICE1394_WMI_ACCESS_VERSION"),
  634. read,
  635. Description("API Version." )
  636. ]
  637. uint32 Version;
  638. [read, write, WmiDataId(2),
  639. DefineBitMap{"DEVICE1394_OWNERSHIP_LOCAL",
  640. "DEVICE1394_OWNERSHIP_REMOTE","DEVICE1394_ACCESS_SHARED_READ",
  641. "DEVICE1394_ACCESS_SHARED_WRITE", "DEVICE1394_ACCESS_EXCLUSIVE"},
  642. BitMap{"Ownership Local Node",
  643. "Ownership Remote Node","Access shared for read",
  644. "Access shared for write","Access exclusive"},
  645. BitValues{"0","1","2","3","4"},
  646. DefineDataId("DEVICE1394_WMI_ACCESS_FLAGS"),
  647. Description("Ownership and Access Flags" )
  648. ]
  649. uint32 OwnershipAccessFlags;
  650. [read, write, WmiDataId(3),
  651. DefineBitMap{"DEVICE1394_NOTIFY_ON_ACCESS_CHANGE"},
  652. BitMap{"Notify on access change"},
  653. BitValues{"0"},
  654. DefineDataId("DEVICE1394_WMI_ACCESS_NOTIFICATION_FLAGS"),
  655. Description("Notification Flags")
  656. ]
  657. uint32 NotificationFlags;
  658. [WmiDataId(4),
  659. DefineDataId("DEVICE1394_WMI_ACCESS_REMOTE_OWNER_EUI64"),
  660. read,
  661. write,
  662. Description("EUI-64 of remote device" )
  663. ]
  664. uint64 RemoteOwnerEUI;
  665. [WmiDataId(5),
  666. read,
  667. Description("Reserved for future use")
  668. ]
  669. boolean Reserved1;
  670. };
  671. [Dynamic,
  672. Provider("WMIProv"),
  673. WMI,
  674. Description("IEEE1394 Device Access Notification"),
  675. GuidName1("GUID_DEVICE1394_WMI_ACCESS_NOTIFY"),
  676. GuidName2("MS1394_DeviceAccessNotificationGuid"),
  677. HeaderName("DEVICE1394_WMI_ACCESS_NOTIFICATION"),
  678. guid("{321c7c45-8676-44a8-9109-89ce358ee83f}"),
  679. locale("MS\\0x409")
  680. ]
  681. class MS1394_DeviceAccessNotification
  682. {
  683. [key, read]
  684. string InstanceName;
  685. [read]
  686. boolean Active;
  687. [WmiDataId(1),
  688. DefineDataId("DEVICE1394_WMI_ACCESS_NOTIFY_VERSION"),
  689. read,
  690. Description("API Version." )
  691. ]
  692. uint32 Version;
  693. [WmiDataId(2),
  694. DefineDataId("DEVICE1394_WMI_ACCESS_NOTIFY_GENERATION"),
  695. read,
  696. Description("Bus Generation." )
  697. ]
  698. uint32 BusGeneration;
  699. [WmiDataId(3),
  700. DefineDataId("DEVICE1394_WMI_ACCESS_NOTIFY_TYPE"),
  701. read,
  702. Values{"Remote Node Access Request",
  703. "Local Node Access Change"},
  704. DefineValues{"DEVICE1394_ACCESS_NOTIFICATION_TYPE_REMOTE",
  705. "DEVICE1394_ACCESS_NOTIFICATION_TYPE_LOCAL"},
  706. ValueMap{"0",
  707. "1"},
  708. Description("Notification Type." )
  709. ]
  710. uint32 Type;
  711. [WmiDataId(4),
  712. DefineDataId("DEVICE1394_WMI_ACCESS_NOTIFY_FLAGS"),
  713. read,
  714. Description("Current Ownership Flags" )
  715. ]
  716. uint64 OwnerShipAccessFlags;
  717. [WmiDataId(5),
  718. DefineDataId("DEVICE1394_WMI_ACCESS_NOTIFY_REMOTE_OWNER_EUI64"),
  719. read,
  720. Description("EUI-64 of remote device" )
  721. ]
  722. uint64 RemoteOwnerEUI;
  723. [WmiDataId(6),
  724. read,
  725. Description("Reserved for future use")
  726. ]
  727. boolean Reserved1;
  728. };