Commit 86bdab9
committed
unifying variable names and usage
- In `clint_reg_write`, there are two variable names with the same
meaning: `lowwer` and `lower`. These should be unified as `lower`.
- In `clint_update_interrupts`, although `&hart->time` and
`&clint->mtime` are kept in sync, semantically, `&clint->mtime` should
be used when comparing against mtimecmp.1 parent 8b4e34d commit 86bdab9
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments