misc: Replace M5_FALLTHROUGH with GEM5_FALLTHROUGH.
Change-Id: I058f311b6d9c284f745bcc915db72236d05db21b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45233 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -332,7 +332,7 @@ BaseKvmCPU::drain()
|
||||
deschedule(tickEvent);
|
||||
_status = Idle;
|
||||
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case Idle:
|
||||
// Idle, no need to drain
|
||||
assert(!tickEvent.scheduled());
|
||||
|
||||
@@ -398,7 +398,7 @@ checkSeg(const char *name, const int idx, const struct kvm_segment &seg,
|
||||
case MISCREG_ES:
|
||||
if (seg.unusable)
|
||||
break;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case MISCREG_CS:
|
||||
if (seg.base & 0xffffffff00000000ULL)
|
||||
warn("Illegal %s base: 0x%x\n", name, seg.base);
|
||||
@@ -436,7 +436,7 @@ checkSeg(const char *name, const int idx, const struct kvm_segment &seg,
|
||||
case 3:
|
||||
if (sregs.cs.type == 3 && seg.dpl != 0)
|
||||
warn("CS type is 3, but SS DPL is != 0.\n");
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case 7:
|
||||
if (!(sregs.cr0 & 1) && seg.dpl != 0)
|
||||
warn("SS DPL is %i, but CR0 PE is 0\n", seg.dpl);
|
||||
@@ -480,7 +480,7 @@ checkSeg(const char *name, const int idx, const struct kvm_segment &seg,
|
||||
case MISCREG_GS:
|
||||
if (seg.unusable)
|
||||
break;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case MISCREG_CS:
|
||||
if (!seg.s)
|
||||
warn("%s: S flag not set\n", name);
|
||||
@@ -489,7 +489,7 @@ checkSeg(const char *name, const int idx, const struct kvm_segment &seg,
|
||||
case MISCREG_TSL:
|
||||
if (seg.unusable)
|
||||
break;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case MISCREG_TR:
|
||||
if (seg.s)
|
||||
warn("%s: S flag is set\n", name);
|
||||
@@ -505,7 +505,7 @@ checkSeg(const char *name, const int idx, const struct kvm_segment &seg,
|
||||
case MISCREG_TSL:
|
||||
if (seg.unusable)
|
||||
break;
|
||||
M5_FALLTHROUGH;
|
||||
GEM5_FALLTHROUGH;
|
||||
case MISCREG_TR:
|
||||
case MISCREG_CS:
|
||||
if (!seg.present)
|
||||
|
||||
Reference in New Issue
Block a user