summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/interrupts.cc2
-rw-r--r--src/arch/sparc/linux/linux.hh8
-rw-r--r--src/arch/sparc/pagetable.hh2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/sparc/interrupts.cc b/src/arch/sparc/interrupts.cc
index 96d61e559..1891361d5 100644
--- a/src/arch/sparc/interrupts.cc
+++ b/src/arch/sparc/interrupts.cc
@@ -29,7 +29,7 @@
*/
#include "arch/sparc/interrupts.hh"
-
+
SparcISA::Interrupts *
SparcInterruptsParams::create()
{
diff --git a/src/arch/sparc/linux/linux.hh b/src/arch/sparc/linux/linux.hh
index bb7063edf..bbedc92b1 100644
--- a/src/arch/sparc/linux/linux.hh
+++ b/src/arch/sparc/linux/linux.hh
@@ -78,8 +78,8 @@ class SparcLinux : public Linux
static const unsigned TGT_MAP_ANONYMOUS = 0x20;
static const unsigned TGT_MAP_FIXED = 0x10;
-
- typedef struct {
+
+ typedef struct {
int64_t uptime; /* Seconds since boot */
uint64_t loads[3]; /* 1, 5, and 15 minute load averages */
uint64_t totalram; /* Total usable main memory size */
@@ -151,7 +151,7 @@ class Sparc32Linux : public SparcLinux
uint32_t __unused4;
uint32_t __unused5;
} tgt_stat64;
-
+
typedef struct {
int32_t uptime; /* Seconds since boot */
uint32_t loads[3]; /* 1, 5, and 15 minute load averages */
@@ -165,7 +165,7 @@ class Sparc32Linux : public SparcLinux
uint32_t totalhigh; /* Total high memory size */
uint32_t freehigh; /* Available high memory size */
uint32_t mem_unit; /* Memory unit size in bytes */
- } tgt_sysinfo;
+ } tgt_sysinfo;
/// Resource constants for getrlimit() (overide some generics).
static const unsigned TGT_RLIMIT_NPROC = 7;
diff --git a/src/arch/sparc/pagetable.hh b/src/arch/sparc/pagetable.hh
index 79b4d3cc5..20df5a653 100644
--- a/src/arch/sparc/pagetable.hh
+++ b/src/arch/sparc/pagetable.hh
@@ -57,7 +57,7 @@ class TteTag
TteTag(uint64_t e) : entry(e), populated(true) {}
const TteTag &
- operator=(uint64_t e)
+ operator=(uint64_t e)
{
populated = true;
entry = e;