gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::ArmFreebsd32 Class Reference

#include <freebsd.hh>

Inheritance diagram for gem5::ArmFreebsd32:
gem5::ArmFreebsd gem5::OpenFlagTable< ArmFreebsd32 > gem5::FreeBSD gem5::OperatingSystem

Classes

struct  rlimit
 Limit struct for getrlimit/setrlimit. More...
 
struct  rusage
 For getrusage(). More...
 
struct  tgt_iovec
 
struct  tgt_stat
 
struct  tgt_stat64
 
struct  timeval
 For gettimeofday(). More...
 
struct  tms
 For times(). More...
 

Public Types

typedef uint32_t size_t
 Basic ARM FreeBSD types.
 
typedef uint32_t off_t
 
typedef int32_t time_t
 
typedef int32_t clock_t
 
- Public Types inherited from gem5::FreeBSD
typedef uint64_t size_t
 Basic FreeBSD types.
 
typedef uint64_t off_t
 
typedef int64_t time_t
 
typedef int64_t clock_t
 
typedef uint32_t uid_t
 
typedef uint32_t gid_t
 
- Public Types inherited from gem5::OperatingSystem
typedef void tgt_stat
 Stat buffer.
 
typedef void tgt_stat64
 

Static Public Attributes

static constexpr int TGT_O_RDONLY = 0x00000000
 open(2) flag values.
 
static constexpr int TGT_O_WRONLY = 0x00000001
 O_WRONLY.
 
static constexpr int TGT_O_RDWR = 0x00000002
 O_RDWR.
 
static constexpr int TGT_O_CREAT = 0x00000200
 O_CREAT.
 
static constexpr int TGT_O_EXCL = 0x00000800
 O_EXCL.
 
static constexpr int TGT_O_NOCTTY = 0x00008000
 O_NOCTTY.
 
static constexpr int TGT_O_TRUNC = 0x00000400
 O_TRUNC.
 
static constexpr int TGT_O_APPEND = 0x00000008
 O_APPEND.
 
static constexpr int TGT_O_NONBLOCK = 0x00000004
 O_NONBLOCK.
 
static constexpr int TGT_O_SYNC = 0x00000080
 O_SYNC.
 
static constexpr int TGT_FASYNC = 0x00000040
 FASYNC.
 
static constexpr int TGT_O_DIRECT = 0x00010000
 O_DIRECT.
 
static constexpr int TGT_O_DIRECTORY = 0x00020000
 O_DIRECTORY.
 
static constexpr int TGT_O_NOFOLLOW = 0x00000100
 O_NOFOLLOW.
 
static constexpr int TGT_O_CLOEXEC = 0x00100000
 O_CLOEXEC.
 
static constexpr unsigned TGT_MAP_SHARED = 0x0001
 For mmap().
 
static constexpr unsigned TGT_MAP_PRIVATE = 0x0002
 
static constexpr unsigned TGT_MAP_ANONYMOUS = 0x1000
 
static constexpr unsigned TGT_MAP_FIXED = 0x0010
 
- Static Public Attributes inherited from gem5::ArmFreebsd
static const ByteOrder byteOrder = ByteOrder::little
 
- Static Public Attributes inherited from gem5::FreeBSD
static const int M5_SC_CLK_TCK = 100
 Clock ticks per second, for times().
 
static const unsigned TGT_TIOCGETA = 0x402c7413
 ioctl() command codes.
 
static const unsigned TGT_TIOCSETA = 0x802c7414
 
static const unsigned TGT_TIOCSETAW = 0x802c7415
 
static const unsigned TGT_FIONREAD = 0x4004667f
 
static const unsigned TGT_RLIMIT_CPU = 0
 Resource constants for getrlimit().
 
static const unsigned TGT_RLIMIT_FSIZE = 1
 
static const unsigned TGT_RLIMIT_DATA = 2
 
static const unsigned TGT_RLIMIT_STACK = 3
 
static const unsigned TGT_RLIMIT_CORE = 4
 
static const unsigned TGT_RLIMIT_RSS = 5
 
static const unsigned TGT_RLIMIT_MEMLOCK = 6
 
static const unsigned TGT_RLIMIT_NPROC = 7
 
static const unsigned TGT_RLIMIT_NOFILE = 8
 
static const unsigned TGT_RLIMIT_SBSIZE = 9
 
static const unsigned TGT_RLIMIT_VMEM = 10
 
static const unsigned TGT_RLIMIT_AS = TGT_RLIMIT_VMEM
 
static const unsigned TGT_RLIMIT_NPTS = 11
 
static const unsigned TGT_RLIMIT_SWAP = 12
 
static const unsigned TGT_RLIMIT_KQUEUES = 13
 
static const int TGT_RUSAGE_SELF = 0
 For getrusage().
 
static const int TGT_RUSAGE_CHILDREN = -1
 
static const int TGT_RUSAGE_THREAD = 1
 
static const int TGT_AT_FDCWD = -100
 
static const int TGT_AT_REMOVEDIR = 0x800
 
- Static Public Attributes inherited from gem5::OperatingSystem
static const int _SYS_NMLN = 65
 Length of strings in struct utsname (plus 1 for null char).
 
- Static Public Attributes inherited from gem5::OpenFlagTable< ArmFreebsd32 >
static const std::map< int, int > openFlagTable
 

Additional Inherited Members

- Static Public Member Functions inherited from gem5::FreeBSD
static bool isTtyReq (unsigned req)
 Return true for the ioctl codes for which we return ENOTTY without printing a warning, since we know that ENOTTY is the correct thing to return (and not just a sign that we don't recognize the ioctl code.
 
- Static Public Member Functions inherited from gem5::OperatingSystem
static int openSpecialFile (std::string path, Process *process, ThreadContext *tc)
 

Detailed Description

Definition at line 51 of file freebsd.hh.

Member Typedef Documentation

◆ clock_t

typedef int32_t gem5::ArmFreebsd32::clock_t

Definition at line 59 of file freebsd.hh.

◆ off_t

typedef uint32_t gem5::ArmFreebsd32::off_t

Definition at line 57 of file freebsd.hh.

◆ size_t

typedef uint32_t gem5::ArmFreebsd32::size_t

Basic ARM FreeBSD types.

Definition at line 56 of file freebsd.hh.

◆ time_t

typedef int32_t gem5::ArmFreebsd32::time_t

Definition at line 58 of file freebsd.hh.

Member Data Documentation

◆ TGT_FASYNC

int gem5::ArmFreebsd32::TGT_FASYNC = 0x00000040
staticconstexpr

FASYNC.

Definition at line 74 of file freebsd.hh.

◆ TGT_MAP_ANONYMOUS

unsigned gem5::ArmFreebsd32::TGT_MAP_ANONYMOUS = 0x1000
staticconstexpr

Definition at line 84 of file freebsd.hh.

◆ TGT_MAP_FIXED

unsigned gem5::ArmFreebsd32::TGT_MAP_FIXED = 0x0010
staticconstexpr

Definition at line 85 of file freebsd.hh.

◆ TGT_MAP_PRIVATE

unsigned gem5::ArmFreebsd32::TGT_MAP_PRIVATE = 0x0002
staticconstexpr

Definition at line 83 of file freebsd.hh.

◆ TGT_MAP_SHARED

unsigned gem5::ArmFreebsd32::TGT_MAP_SHARED = 0x0001
staticconstexpr

For mmap().

Definition at line 82 of file freebsd.hh.

◆ TGT_O_APPEND

int gem5::ArmFreebsd32::TGT_O_APPEND = 0x00000008
staticconstexpr

O_APPEND.

Definition at line 71 of file freebsd.hh.

◆ TGT_O_CLOEXEC

int gem5::ArmFreebsd32::TGT_O_CLOEXEC = 0x00100000
staticconstexpr

O_CLOEXEC.

Definition at line 78 of file freebsd.hh.

◆ TGT_O_CREAT

int gem5::ArmFreebsd32::TGT_O_CREAT = 0x00000200
staticconstexpr

O_CREAT.

Definition at line 67 of file freebsd.hh.

◆ TGT_O_DIRECT

int gem5::ArmFreebsd32::TGT_O_DIRECT = 0x00010000
staticconstexpr

O_DIRECT.

Definition at line 75 of file freebsd.hh.

◆ TGT_O_DIRECTORY

int gem5::ArmFreebsd32::TGT_O_DIRECTORY = 0x00020000
staticconstexpr

O_DIRECTORY.

Definition at line 76 of file freebsd.hh.

◆ TGT_O_EXCL

int gem5::ArmFreebsd32::TGT_O_EXCL = 0x00000800
staticconstexpr

O_EXCL.

Definition at line 68 of file freebsd.hh.

◆ TGT_O_NOCTTY

int gem5::ArmFreebsd32::TGT_O_NOCTTY = 0x00008000
staticconstexpr

O_NOCTTY.

Definition at line 69 of file freebsd.hh.

◆ TGT_O_NOFOLLOW

int gem5::ArmFreebsd32::TGT_O_NOFOLLOW = 0x00000100
staticconstexpr

O_NOFOLLOW.

Definition at line 77 of file freebsd.hh.

◆ TGT_O_NONBLOCK

int gem5::ArmFreebsd32::TGT_O_NONBLOCK = 0x00000004
staticconstexpr

O_NONBLOCK.

Definition at line 72 of file freebsd.hh.

◆ TGT_O_RDONLY

int gem5::ArmFreebsd32::TGT_O_RDONLY = 0x00000000
staticconstexpr

open(2) flag values.

O_RDONLY

Definition at line 64 of file freebsd.hh.

◆ TGT_O_RDWR

int gem5::ArmFreebsd32::TGT_O_RDWR = 0x00000002
staticconstexpr

O_RDWR.

Definition at line 66 of file freebsd.hh.

◆ TGT_O_SYNC

int gem5::ArmFreebsd32::TGT_O_SYNC = 0x00000080
staticconstexpr

O_SYNC.

Definition at line 73 of file freebsd.hh.

◆ TGT_O_TRUNC

int gem5::ArmFreebsd32::TGT_O_TRUNC = 0x00000400
staticconstexpr

O_TRUNC.

Definition at line 70 of file freebsd.hh.

◆ TGT_O_WRONLY

int gem5::ArmFreebsd32::TGT_O_WRONLY = 0x00000001
staticconstexpr

O_WRONLY.

Definition at line 65 of file freebsd.hh.


The documentation for this class was generated from the following file:

Generated on Tue Jun 18 2024 16:24:09 for gem5 by doxygen 1.11.0