Commit 3f03196
authored
fix(TLB): fix two issues in genVpn (#4647)
1. Level: Previously, the code always used the smaller value between
s1.stage and s2.stage, regardless of the virtualization stage. In fact,
only the allStage case should compare both stages; other cases should
determine the level independently based on their respective stage.
2. VPN: Previously, only the allStage case checked the level to decide
whether to concatenate the lower bits of the VPN. However, in reality,
other cases also need to perform VPN concatenation based on the level.1 parent 6a3636f commit 3f03196
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | | - | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
1295 | 1300 | | |
1296 | 1301 | | |
1297 | 1302 | | |
1298 | 1303 | | |
1299 | 1304 | | |
1300 | 1305 | | |
1301 | | - | |
1302 | | - | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
1303 | 1312 | | |
1304 | 1313 | | |
1305 | 1314 | | |
| |||
0 commit comments