Skip to content

Commit 5582130

Browse files
authored
Remove redundant SV_MODE_BARE (#761)
SV_MODE_BARE is redundant with `SATP_MODE_BARE` and the latter is used in more places, so remove the former.
1 parent ac7009d commit 5582130

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

arch/ext/S.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,6 @@ params:
234234
235235
# SCOUNTEN_EN can only be writable if the hpm counter exists
236236
SCOUNTENABLE_EN.each_with_index { |scounten, idx| next if idx < 3; assert (!scounten || HPM_COUNTER_EN[idx]) }
237-
SV_MODE_BARE:
238-
description: |
239-
Whether or not writing mode=Bare is supported in the `satp` register.
240-
schema:
241-
type: boolean
242237
STVEC_MODE_DIRECT:
243238
description: |
244239
Whether or not `stvec.MODE` supports Direct (0).

cfgs/example_rv64_with_overlay.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,6 @@ params:
520520
SV48X4_TRANSLATION: true
521521
SV57X4_TRANSLATION: false
522522
VMID_WIDTH: 8
523-
SV_MODE_BARE: true
524523
STVEC_MODE_DIRECT: true
525524
STVEC_MODE_VECTORED: true
526525
SATP_MODE_BARE: true

0 commit comments

Comments
 (0)