Commit 1fe2504
StandaloneMmPkg: StandaloneMmIplPei: Guard S3 hob with PcdAcpiS3Enable
The current module checks the value of gEfiAcpiVariableGuid hobs and
could assert if there is no such hob available.
However, these hobs are only available if a platform elects to support
S3. Thus this change moves the hob copy logic behind a PCD check to
prevent unnecessary asserts.
Signed-off-by: Kun Qin <[email protected]>1 parent 90cb166 commit 1fe2504
1 file changed
Lines changed: 6 additions & 3 deletions
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1032 | 1035 | | |
1033 | 1036 | | |
1034 | 1037 | | |
| |||
0 commit comments