Commit f4c8960
committed
svsm: validate memory correctly during kernel region expansion
By the time the kernel region is expanded, the memory to be used for the
heap has already been validated. Therefore, as the kernel region is
expanded, newly added memory must be validated as it is added, and there
is no reason to validate new page table pages as they are allocated from
existing heap space.
Signed-off-by: Jon Lange <jlange@microsoft.com>1 parent 3a3b47c commit f4c8960
1 file changed
Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 124 | | |
139 | 125 | | |
140 | 126 | | |
| |||
156 | 142 | | |
157 | 143 | | |
158 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments