- DEBUG ((EFI_D_INFO, "======= SmramProfile begin =======\n"));\r
-\r
- for (PoolListIndex = 0; PoolListIndex < MAX_POOL_INDEX; PoolListIndex++) {\r
- DEBUG ((EFI_D_INFO, "FreePoolList (%d):\n", PoolListIndex));\r
- FreePoolList = &mSmmPoolLists[PoolListIndex];\r
- for (Node = FreePoolList->BackLink, Index = 0;\r
- Node != FreePoolList;\r
- Node = Node->BackLink, Index++) {\r
- Pool = BASE_CR (Node, FREE_POOL_HEADER, Link);\r
- DEBUG ((EFI_D_INFO, " Index - 0x%x\n", Index));\r
- DEBUG ((EFI_D_INFO, " PhysicalStart - 0x%016lx\n", (PHYSICAL_ADDRESS) (UINTN) Pool));\r
- DEBUG ((EFI_D_INFO, " Size - 0x%08x\n", Pool->Header.Size));\r
- DEBUG ((EFI_D_INFO, " Available - 0x%02x\n", Pool->Header.Available));\r
+ DEBUG ((DEBUG_INFO, "======= SmramProfile begin =======\n"));\r
+\r
+ for (SmmPoolTypeIndex = 0; SmmPoolTypeIndex < SmmPoolTypeMax; SmmPoolTypeIndex++) {\r
+ for (PoolListIndex = 0; PoolListIndex < MAX_POOL_INDEX; PoolListIndex++) {\r
+ DEBUG ((DEBUG_INFO, "FreePoolList(%d)(%d):\n", SmmPoolTypeIndex, PoolListIndex));\r
+ FreePoolList = &mSmmPoolLists[SmmPoolTypeIndex][PoolListIndex];\r
+ for (Node = FreePoolList->BackLink, Index = 0;\r
+ Node != FreePoolList;\r
+ Node = Node->BackLink, Index++) {\r
+ Pool = BASE_CR (Node, FREE_POOL_HEADER, Link);\r
+ DEBUG ((DEBUG_INFO, " Index - 0x%x\n", Index));\r
+ DEBUG ((DEBUG_INFO, " PhysicalStart - 0x%016lx\n", (PHYSICAL_ADDRESS) (UINTN) Pool));\r
+ DEBUG ((DEBUG_INFO, " Size - 0x%08x\n", Pool->Header.Size));\r
+ DEBUG ((DEBUG_INFO, " Available - 0x%02x\n", Pool->Header.Available));\r
+ }\r