Commit 8e084a4
committed
hace: Use shared context in .ram_nc for ctx_mut
Switch HaceController::ctx_mut to return a mutable reference to the shared
static context located in non-cacheable RAM (.ram_nc).
Replaces local instance field `aspeed_hash_ctx` with access to `SHARED_HASH_CTX`.
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>1 parent e4caf9f commit 8e084a4
2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| |||
0 commit comments