Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/45419 )
Change subject: arch: Rename FreeBSD namespace as free_bsd
......................................................................
arch: Rename FreeBSD namespace as free_bsd
As part of recent decisions regarding namespace
naming conventions, all namespaces will be changed
to snake case.
FreeBSD became free_bsd.
Change-Id: If3fc4b04e60e6e1e790962dc81744ec7f712d8a6
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/arch/arm/freebsd/fs_workload.cc
M src/arch/generic/freebsd/threadinfo.hh
M src/kern/freebsd/events.cc
M src/kern/freebsd/events.hh
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/arch/arm/freebsd/fs_workload.cc
b/src/arch/arm/freebsd/fs_workload.cc
index 959581b..d6e9533 100644
--- a/src/arch/arm/freebsd/fs_workload.cc
+++ b/src/arch/arm/freebsd/fs_workload.cc
@@ -45,7 +45,7 @@
#include "mem/physical.hh"
#include "sim/stat_control.hh"
-using namespace FreeBSD;
+using namespace free_bsd;
namespace ArmISA
{
diff --git a/src/arch/generic/freebsd/threadinfo.hh
b/src/arch/generic/freebsd/threadinfo.hh
index 28184e7..cd04991 100644
--- a/src/arch/generic/freebsd/threadinfo.hh
+++ b/src/arch/generic/freebsd/threadinfo.hh
@@ -36,7 +36,7 @@
#include "cpu/thread_context.hh"
#include "sim/system.hh"
-namespace FreeBSD {
+namespace free_bsd {
class ThreadInfo
{
@@ -54,6 +54,6 @@
{}
};
-} // namespace FreeBSD
+} // namespace free_bsd
#endif // __ARCH_GENERIC_FREEBSD_THREADINFO_HH__
diff --git a/src/kern/freebsd/events.cc b/src/kern/freebsd/events.cc
index 0a78076..d5bc187 100644
--- a/src/kern/freebsd/events.cc
+++ b/src/kern/freebsd/events.cc
@@ -40,8 +40,7 @@
#include "kern/system_events.hh"
#include "sim/system.hh"
-namespace FreeBSD
-{
+namespace free_bsd {
void
onUDelay(ThreadContext *tc, uint64_t div, uint64_t mul, uint64_t time)
@@ -60,4 +59,4 @@
tc->quiesceTick(curTick() + sim_clock::Int::ns * time);
}
-} // namespace FreeBSD
+} // namespace free_bsd
diff --git a/src/kern/freebsd/events.hh b/src/kern/freebsd/events.hh
index ebf6128..817f8b1 100644
--- a/src/kern/freebsd/events.hh
+++ b/src/kern/freebsd/events.hh
@@ -33,11 +33,12 @@
#ifndef __KERN_FREEBSD_EVENTS_HH__
#define __KERN_FREEBSD_EVENTS_HH__
+#include "base/compiler.hh"
#include "kern/system_events.hh"
#include "sim/guest_abi.hh"
-namespace FreeBSD
-{
+GEM5_DEPRECATED_NAMESPACE(FreeBSD, free_bsd);
+namespace free_bsd {
void onUDelay(ThreadContext *tc, uint64_t div, uint64_t mul, uint64_t
time);
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/45419
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: If3fc4b04e60e6e1e790962dc81744ec7f712d8a6
Gerrit-Change-Number: 45419
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s