Skip to content

Commit 01348b3

Browse files
Sahil-Malpekarchetan-rathore
authored andcommitted
fix : enable B_MEM_02 on UEFI
- made B_MEM_02 run in UEFI by updating platform bitmask Fixes #373 Signed-off-by: Sahil Shakil Malpekar <Sahil.ShakilMalpekar@arm.com> Change-Id: I1f29cde733d282f0cb0d4caef7e26cd4b6b0bb40
1 parent b44c042 commit 01348b3

7 files changed

Lines changed: 8 additions & 1 deletion

File tree

apps/uefi/Bsa.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
../../test_pool/peripherals/d001.c
9191
../../test_pool/peripherals/d002.c
9292
../../test_pool/peripherals/d003.c
93+
../../test_pool/memory_map/m001.c
9394
../../test_pool/memory_map/m002.c
9495
../../test_pool/memory_map/m003.c
9596
../../test_pool/power_wakeup/u001.c

apps/uefi/Sbsa.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
../../test_pool/peripherals/d001.c
9494
../../test_pool/peripherals/d002.c
9595
../../test_pool/peripherals/d003.c
96+
../../test_pool/memory_map/m001.c
9697
../../test_pool/memory_map/m002.c
9798
../../test_pool/memory_map/m003.c
9899
../../test_pool/power_wakeup/u001.c

apps/uefi/SbsaNist.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
../../test_pool/smmu/i022.c
9999
../../test_pool/smmu/i024.c
100100
../../test_pool/smmu/i025.c
101+
../../test_pool/memory_map/m001.c
101102
../../test_pool/memory_map/m005.c
102103
../../test_pool/pcie/p001.c
103104
../../test_pool/pcie/p002.c

apps/uefi/Vbsa.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
../../test_pool/peripherals/d001.c
9393
../../test_pool/peripherals/d002.c
9494
../../test_pool/peripherals/d003.c
95+
../../test_pool/memory_map/m001.c
9596
../../test_pool/memory_map/m002.c
9697
../../test_pool/memory_map/m003.c
9798
../../test_pool/power_wakeup/u001.c

apps/uefi/pc_bsa.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
../../test_pool/peripherals/d001.c
9494
../../test_pool/peripherals/d002.c
9595
../../test_pool/peripherals/d003.c
96+
../../test_pool/memory_map/m001.c
9697
../../test_pool/memory_map/m002.c
9798
../../test_pool/memory_map/m003.c
9899
../../test_pool/power_wakeup/u001.c

apps/uefi/xbsa_acpi.inf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
../../test_pool/peripherals/d001.c
9191
../../test_pool/peripherals/d002.c
9292
../../test_pool/peripherals/d003.c
93+
../../test_pool/memory_map/m001.c
9394
../../test_pool/memory_map/m002.c
9495
../../test_pool/memory_map/m003.c
9596
../../test_pool/power_wakeup/u001.c

val/src/rule_metadata.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ rule_test_map_t rule_test_map[RULE_ID_SENTINEL] = {
820820
.test_entry_id = M001_ENTRY,
821821
.module_id = MEM_MAP,
822822
.rule_desc = "Memory Access to Un-Populated addr",
823-
.platform_bitmask = PLATFORM_BAREMETAL,
823+
.platform_bitmask = PLATFORM_BAREMETAL | PLATFORM_UEFI,
824824
.flag = BASE_RULE,
825825
.test_num = ACS_MEMORY_MAP_TEST_NUM_BASE + 1,
826826
},
@@ -3598,6 +3598,7 @@ test_entry_fn_t test_entry_func_table[TEST_ENTRY_SENTINEL] = {
35983598
[ITS003_ENTRY] = its003_entry,
35993599
[ITS004_ENTRY] = its004_entry,
36003600
[ITS005_ENTRY] = its005_entry,
3601+
[M001_ENTRY] = m001_entry,
36013602
[M002_ENTRY] = m002_entry,
36023603
[M003_ENTRY] = m003_entry,
36033604
[M005_ENTRY] = m005_entry,

0 commit comments

Comments
 (0)