1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 17 unchanged lines hidden (view full) ---
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Korey Sewell
29 */
30
31#ifndef __ARCH_RISCV_LINUX_LINUX_HH__
32#define __ARCH_RISCV_LINUX_LINUX_HH__
33
34#include "kern/linux/linux.hh"
35
36class RiscvLinux : public Linux
37{
38 public:
39 static const int TGT_SIGHUP = 1;
40 static const int TGT_SIGINT = 2;
41 static const int TGT_SIGQUIT = 3;
--- 140 unchanged lines hidden (view full) ---
182 uint64_t totalswap;
183 uint64_t freeswap;
184 uint16_t procs;
185 uint16_t pad;
186 uint64_t totalhigh;
187 uint64_t freehigh;
188 uint32_t mem_unit;
189 } tgt_sysinfo;
190};
191
192#endif
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 17 unchanged lines hidden (view full) ---
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Korey Sewell
29 */
30
31#ifndef __ARCH_RISCV_LINUX_LINUX_HH__
32#define __ARCH_RISCV_LINUX_LINUX_HH__
33
34#include "kern/linux/linux.hh"
35
36class RiscvLinux : public Linux
37{
38 public:
39 static const int TGT_SIGHUP = 1;
40 static const int TGT_SIGINT = 2;
41 static const int TGT_SIGQUIT = 3;
--- 140 unchanged lines hidden (view full) ---
182 uint64_t totalswap;
183 uint64_t freeswap;
184 uint16_t procs;
185 uint16_t pad;
186 uint64_t totalhigh;
187 uint64_t freehigh;
188 uint32_t mem_unit;
189 } tgt_sysinfo;
190};
191
192#endif