From: Nils Asmussen Date: Sat, 21 Mar 2020 10:00:01 +0000 (+0100) Subject: arch-riscv: fixed formatting. X-Git-Tag: v20.0.0.0~123 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4bd49215827b78e276e6ba4f2718c17a349caa8;p=gem5.git arch-riscv: fixed formatting. Change-Id: I134993a4aced07e75bf62fec56081b0f9d8fc18c Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26986 Tested-by: kokoro Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com> Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- diff --git a/src/arch/riscv/isa.hh b/src/arch/riscv/isa.hh index 4bf0fdb05..9d342428c 100644 --- a/src/arch/riscv/isa.hh +++ b/src/arch/riscv/isa.hh @@ -4,6 +4,7 @@ * Copyright (c) 2014 Sven Karlsson * Copyright (c) 2016 RISC-V Foundation * Copyright (c) 2016 The University of Virginia + * Copyright (c) 2020 Barkhausen Institut * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -52,7 +53,8 @@ class EventManager; namespace RiscvISA { -enum PrivilegeMode { +enum PrivilegeMode +{ PRV_U = 0, PRV_S = 1, PRV_M = 3