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 <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45419 Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Gabe Black <gabe.black@gmail.com> Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
This commit is contained in:
committed by
Daniel Carvalho
parent
3bc93bb930
commit
450b679374
@@ -45,7 +45,7 @@
|
||||
#include "mem/physical.hh"
|
||||
#include "sim/stat_control.hh"
|
||||
|
||||
using namespace FreeBSD;
|
||||
using namespace free_bsd;
|
||||
|
||||
namespace ArmISA
|
||||
{
|
||||
|
||||
@@ -36,7 +36,9 @@
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
namespace FreeBSD {
|
||||
GEM5_DEPRECATED_NAMESPACE(FreeBSD, free_bsd);
|
||||
namespace free_bsd
|
||||
{
|
||||
|
||||
class ThreadInfo
|
||||
{
|
||||
@@ -54,6 +56,6 @@ class ThreadInfo
|
||||
{}
|
||||
};
|
||||
|
||||
} // namespace FreeBSD
|
||||
} // namespace free_bsd
|
||||
|
||||
#endif // __ARCH_GENERIC_FREEBSD_THREADINFO_HH__
|
||||
|
||||
@@ -40,7 +40,8 @@
|
||||
#include "kern/system_events.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
namespace FreeBSD
|
||||
GEM5_DEPRECATED_NAMESPACE(FreeBSD, free_bsd);
|
||||
namespace free_bsd
|
||||
{
|
||||
|
||||
void
|
||||
@@ -60,4 +61,4 @@ onUDelay(ThreadContext *tc, uint64_t div, uint64_t mul, uint64_t time)
|
||||
tc->quiesceTick(curTick() + sim_clock::Int::ns * time);
|
||||
}
|
||||
|
||||
} // namespace FreeBSD
|
||||
} // namespace free_bsd
|
||||
|
||||
@@ -33,10 +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);
|
||||
|
||||
Reference in New Issue
Block a user