Changeset 89236 in vbox for trunk/include
- Timestamp:
- May 24, 2021 9:30:08 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/iommu-intel.h
r89235 r89236 2322 2322 * In accordance with the Intel spec. 2323 2323 * @{ */ 2324 typedef enum VTDI NTRFAULT2324 typedef enum VTDIRFAULT 2325 2325 { 2326 2326 /** Reserved bits invalid in remappable interrupt. */ 2327 VTDINTRFAULT_REMAPPABLE_INTR_RSVD = 0x20, 2327 VTDIRFAULT_REMAPPABLE_INTR_RSVD = 0x20, 2328 2328 2329 /** Interrupt index for remappable interrupt exceeds table size or referenced 2329 2330 * address above host address width (HAW) */ 2330 VTDINTRFAULT_INTR_INDEX_INVALID = 0x21, 2331 VTDIRFAULT_INTR_INDEX_INVALID = 0x21, 2332 2331 2333 /** The IRTE is not present. */ 2332 VTDI NTRFAULT_IRTE_NOT_PRESENT = 0x22,2334 VTDIRFAULT_IRTE_NOT_PRESENT = 0x22, 2333 2335 /** Reading IRTE from memory failed. */ 2334 VTDI NTRFAULT_IRTE_READ_FAILED = 0x23,2336 VTDIRFAULT_IRTE_READ_FAILED = 0x23, 2335 2337 /** IRTE reserved bits invalid for an IRTE with Present bit set. */ 2336 VTDINTRFAULT_IRTE_PRESENT_RSVD = 0x24, 2338 VTDIRFAULT_IRTE_PRESENT_RSVD = 0x24, 2339 2337 2340 /** Compatibility format interrupt (CFI) blocked due to EIME being enabled or CFIs 2338 2341 * were disabled. */ 2339 VTDINTRFAULT_CFI_BLOCKED = 0x25, 2342 VTDIRFAULT_CFI_BLOCKED = 0x25, 2343 2340 2344 /** IRTE SID, SVT, SQ bits invalid for an IRTE with Present bit set. */ 2341 VTDINTRFAULT_IRTE_PRESENT_INVALID = 0x26, 2345 VTDIRFAULT_IRTE_PRESENT_INVALID = 0x26, 2346 2342 2347 /** Reading posted interrupt descriptor (PID) failed. */ 2343 VTDI NTRFAULT_PID_READ_FAILED = 0x27,2348 VTDIRFAULT_PID_READ_FAILED = 0x27, 2344 2349 /** PID reserved bits invalid. */ 2345 VTDINTRFAULT_PID_RSVD = 0x28, 2350 VTDIRFAULT_PID_RSVD = 0x28, 2351 2346 2352 /** Untranslated interrupt requested (without PASID) is invalid. */ 2347 VTDI NTRFAULT_IR_WITHOUT_PASID_INVALID = 0x292348 } VTDI NTRFAULT;2349 AssertCompileSize(VTDI NTRFAULT, 4);2353 VTDIRFAULT_IR_WITHOUT_PASID_INVALID = 0x29 2354 } VTDIRFAULT; 2355 AssertCompileSize(VTDIRFAULT, 4); 2350 2356 /** @} */ 2351 2357 … … 2354 2360 * In accordance with the Intel spec. 2355 2361 * @{ */ 2356 typedef enum VTDA DDRFAULT2362 typedef enum VTDATFAULT 2357 2363 { 2358 2364 /* Legacy root table faults (LRT). */ 2359 VTDA DDRFAULT_LRT_1 = 0x8,2360 VTDA DDRFAULT_LRT_2 = 0x1,2361 VTDA DDRFAULT_LRT_3 = 0xa,2365 VTDATFAULT_LRT_1 = 0x8, 2366 VTDATFAULT_LRT_2 = 0x1, 2367 VTDATFAULT_LRT_3 = 0xa, 2362 2368 2363 2369 /* Legacy Context-Table Faults (LCT). */ 2364 VTDA DDRFAULT_LCT_1 = 0x9,2365 VTDA DDRFAULT_LCT_2 = 0x2,2366 VTDA DDRFAULT_LCT_3 = 0xb,2367 VTDA DDRFAULT_LCT_4_0 = 0x3,2368 VTDA DDRFAULT_LCT_4_1 = 0x3,2369 VTDA DDRFAULT_LCT_4_2 = 0x3,2370 VTDA DDRFAULT_LCT_4_3 = 0x3,2371 VTDA DDRFAULT_LCT_5 = 0xd,2370 VTDATFAULT_LCT_1 = 0x9, 2371 VTDATFAULT_LCT_2 = 0x2, 2372 VTDATFAULT_LCT_3 = 0xb, 2373 VTDATFAULT_LCT_4_0 = 0x3, 2374 VTDATFAULT_LCT_4_1 = 0x3, 2375 VTDATFAULT_LCT_4_2 = 0x3, 2376 VTDATFAULT_LCT_4_3 = 0x3, 2377 VTDATFAULT_LCT_5 = 0xd, 2372 2378 2373 2379 /* Legacy Second-Level Table Faults (LSL). */ 2374 VTDA DDRFAULT_LSL_1 = 0x7,2375 VTDA DDRFAULT_LSL_2 = 0xc,2380 VTDATFAULT_LSL_1 = 0x7, 2381 VTDATFAULT_LSL_2 = 0xc, 2376 2382 2377 2383 /* Legacy General Faults (LGN). */ 2378 VTDA DDRFAULT_LGN_1_0 = 0x4,2379 VTDA DDRFAULT_LGN_1_1 = 0x4,2380 VTDA DDRFAULT_LGN_1_2 = 0x4,2381 VTDA DDRFAULT_LGN_1_3 = 0x4,2382 VTDA DDRFAULT_LGN_2 = 0x5,2383 VTDA DDRFAULT_LGN_3 = 0x6,2384 VTDA DDRFAULT_LGN_4 = 0xe,2384 VTDATFAULT_LGN_1_0 = 0x4, 2385 VTDATFAULT_LGN_1_1 = 0x4, 2386 VTDATFAULT_LGN_1_2 = 0x4, 2387 VTDATFAULT_LGN_1_3 = 0x4, 2388 VTDATFAULT_LGN_2 = 0x5, 2389 VTDATFAULT_LGN_3 = 0x6, 2390 VTDATFAULT_LGN_4 = 0xe, 2385 2391 2386 2392 /* Root-Table Address Register Faults (RTA). */ 2387 VTDA DDRFAULT_RTA_1_0 = 0x30,2388 VTDA DDRFAULT_RTA_1_1 = 0x30,2389 VTDA DDRFAULT_RTA_1_2 = 0x30,2390 VTDA DDRFAULT_RTA_1_3 = 0x30,2391 VTDA DDRFAULT_RTA_2 = 0x31,2392 VTDA DDRFAULT_RTA_3 = 0x32,2393 VTDA DDRFAULT_RTA_4 = 0x33,2393 VTDATFAULT_RTA_1_0 = 0x30, 2394 VTDATFAULT_RTA_1_1 = 0x30, 2395 VTDATFAULT_RTA_1_2 = 0x30, 2396 VTDATFAULT_RTA_1_3 = 0x30, 2397 VTDATFAULT_RTA_2 = 0x31, 2398 VTDATFAULT_RTA_3 = 0x32, 2399 VTDATFAULT_RTA_4 = 0x33, 2394 2400 2395 2401 /* Scalable-Mode Root-Table Faults (SRT). */ 2396 VTDA DDRFAULT_SRT_1 = 0x38,2397 VTDA DDRFAULT_SRT_2 = 0x39,2398 VTDA DDRFAULT_SRT_3 = 0x3a,2402 VTDATFAULT_SRT_1 = 0x38, 2403 VTDATFAULT_SRT_2 = 0x39, 2404 VTDATFAULT_SRT_3 = 0x3a, 2399 2405 2400 2406 /* Scalable-Mode Context-Table Faults (SCT). */ 2401 VTDA DDRFAULT_SCT_1 = 0x40,2402 VTDA DDRFAULT_SCT_2 = 0x41,2403 VTDA DDRFAULT_SCT_3 = 0x42,2404 VTDA DDRFAULT_SCT_4_0 = 0x43,2405 VTDA DDRFAULT_SCT_4_1 = 0x43,2406 VTDA DDRFAULT_SCT_4_2 = 0x43,2407 VTDA DDRFAULT_SCT_5 = 0x44,2408 VTDA DDRFAULT_SCT_6 = 0x45,2409 VTDA DDRFAULT_SCT_7 = 0x46,2410 VTDA DDRFAULT_SCT_8 = 0x47,2411 VTDA DDRFAULT_SCT_9 = 0x48,2407 VTDATFAULT_SCT_1 = 0x40, 2408 VTDATFAULT_SCT_2 = 0x41, 2409 VTDATFAULT_SCT_3 = 0x42, 2410 VTDATFAULT_SCT_4_0 = 0x43, 2411 VTDATFAULT_SCT_4_1 = 0x43, 2412 VTDATFAULT_SCT_4_2 = 0x43, 2413 VTDATFAULT_SCT_5 = 0x44, 2414 VTDATFAULT_SCT_6 = 0x45, 2415 VTDATFAULT_SCT_7 = 0x46, 2416 VTDATFAULT_SCT_8 = 0x47, 2417 VTDATFAULT_SCT_9 = 0x48, 2412 2418 2413 2419 /* Scalable-Mode PASID-Directory Faults (SPD). */ 2414 VTDA DDRFAULT_SPD_1 = 0x50,2415 VTDA DDRFAULT_SPD_2 = 0x51,2416 VTDA DDRFAULT_SPD_3 = 0x52,2420 VTDATFAULT_SPD_1 = 0x50, 2421 VTDATFAULT_SPD_2 = 0x51, 2422 VTDATFAULT_SPD_3 = 0x52, 2417 2423 2418 2424 /* Scalable-Mode PASID-Table Faults (SPT). */ 2419 VTDA DDRFAULT_SPT_1 = 0x58,2420 VTDA DDRFAULT_SPT_2 = 0x59,2421 VTDA DDRFAULT_SPT_3 = 0x5a,2422 VTDA DDRFAULT_SPT_4_0 = 0x5b,2423 VTDA DDRFAULT_SPT_4_1 = 0x5b,2424 VTDA DDRFAULT_SPT_4_2 = 0x5b,2425 VTDA DDRFAULT_SPT_4_3 = 0x5b,2426 VTDA DDRFAULT_SPT_4_4 = 0x5b,2427 VTDA DDRFAULT_SPT_5 = 0x5c,2428 VTDA DDRFAULT_SPT_6 = 0x5d,2425 VTDATFAULT_SPT_1 = 0x58, 2426 VTDATFAULT_SPT_2 = 0x59, 2427 VTDATFAULT_SPT_3 = 0x5a, 2428 VTDATFAULT_SPT_4_0 = 0x5b, 2429 VTDATFAULT_SPT_4_1 = 0x5b, 2430 VTDATFAULT_SPT_4_2 = 0x5b, 2431 VTDATFAULT_SPT_4_3 = 0x5b, 2432 VTDATFAULT_SPT_4_4 = 0x5b, 2433 VTDATFAULT_SPT_5 = 0x5c, 2434 VTDATFAULT_SPT_6 = 0x5d, 2429 2435 2430 2436 /* Scalable-Mode First-Level Table Faults (SFL). */ 2431 VTDA DDRFAULT_SFL_1 = 0x70,2432 VTDA DDRFAULT_SFL_2 = 0x71,2433 VTDA DDRFAULT_SFL_3 = 0x72,2434 VTDA DDRFAULT_SFL_4 = 0x73,2435 VTDA DDRFAULT_SFL_5 = 0x74,2436 VTDA DDRFAULT_SFL_6 = 0x75,2437 VTDA DDRFAULT_SFL_7 = 0x76,2438 VTDA DDRFAULT_SFL_8 = 0x77,2439 VTDA DDRFAULT_SFL_9 = 0x90,2440 VTDA DDRFAULT_SFL_10 = 0x91,2437 VTDATFAULT_SFL_1 = 0x70, 2438 VTDATFAULT_SFL_2 = 0x71, 2439 VTDATFAULT_SFL_3 = 0x72, 2440 VTDATFAULT_SFL_4 = 0x73, 2441 VTDATFAULT_SFL_5 = 0x74, 2442 VTDATFAULT_SFL_6 = 0x75, 2443 VTDATFAULT_SFL_7 = 0x76, 2444 VTDATFAULT_SFL_8 = 0x77, 2445 VTDATFAULT_SFL_9 = 0x90, 2446 VTDATFAULT_SFL_10 = 0x91, 2441 2447 2442 2448 /* Scalable-Mode Second-Level Table Faults (SSL). */ 2443 VTDA DDRFAULT_SSL_1 = 0x78,2444 VTDA DDRFAULT_SSL_2 = 0x79,2445 VTDA DDRFAULT_SSL_3 = 0x7a,2446 VTDA DDRFAULT_SSL_4 = 0x7b,2447 VTDA DDRFAULT_SSL_5 = 0x7c,2448 VTDA DDRFAULT_SSL_6 = 0x7d,2449 VTDATFAULT_SSL_1 = 0x78, 2450 VTDATFAULT_SSL_2 = 0x79, 2451 VTDATFAULT_SSL_3 = 0x7a, 2452 VTDATFAULT_SSL_4 = 0x7b, 2453 VTDATFAULT_SSL_5 = 0x7c, 2454 VTDATFAULT_SSL_6 = 0x7d, 2449 2455 2450 2456 /* Scalable-Mode General Faults (SGN). */ 2451 VTDA DDRFAULT_SGN_1 = 0x80,2452 VTDA DDRFAULT_SGN_2 = 0x81,2453 VTDA DDRFAULT_SGN_3 = 0x82,2454 VTDA DDRFAULT_SGN_4_0 = 0x83,2455 VTDA DDRFAULT_SGN_4_1 = 0x83,2456 VTDA DDRFAULT_SGN_4_2 = 0x83,2457 VTDA DDRFAULT_SGN_5 = 0x84,2458 VTDA DDRFAULT_SGN_6 = 0x85,2459 VTDA DDRFAULT_SGN_7 = 0x86,2460 VTDA DDRFAULT_SGN_8 = 0x87,2461 VTDA DDRFAULT_SGN_9 = 0x88,2462 VTDA DDRFAULT_SGN_10 = 0x892463 } VTDA DDRFAULT;2464 AssertCompileSize(VTDA DDRFAULT, 4);2457 VTDATFAULT_SGN_1 = 0x80, 2458 VTDATFAULT_SGN_2 = 0x81, 2459 VTDATFAULT_SGN_3 = 0x82, 2460 VTDATFAULT_SGN_4_0 = 0x83, 2461 VTDATFAULT_SGN_4_1 = 0x83, 2462 VTDATFAULT_SGN_4_2 = 0x83, 2463 VTDATFAULT_SGN_5 = 0x84, 2464 VTDATFAULT_SGN_6 = 0x85, 2465 VTDATFAULT_SGN_7 = 0x86, 2466 VTDATFAULT_SGN_8 = 0x87, 2467 VTDATFAULT_SGN_9 = 0x88, 2468 VTDATFAULT_SGN_10 = 0x89 2469 } VTDATFAULT; 2470 AssertCompileSize(VTDATFAULT, 4); 2465 2471 /** @} */ 2466 2472
Note:
See TracChangeset
for help on using the changeset viewer.