1/*
2 * Copyright (c) 2003-2005 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 __ALPHA_ALPHA_LINUX_LINUX_HH__
32#define __ALPHA_ALPHA_LINUX_LINUX_HH__
33
34#include "kern/linux/linux.hh"
35
36/* AlphaLinux class contains static constants/definitions/misc.
37 * structures which are specific to the Linux OS AND the Alpha
38 * architecture
39 */
40class AlphaLinux : public Linux
41{
--- 149 unchanged lines hidden (view full) ---
191 uint64_t totalhigh; /* Total high memory size */
192 uint64_t freehigh; /* Available high memory size */
193 uint64_t mem_unit; /* Memory unit size in bytes */
194 } tgt_sysinfo;
195
196 // For futex system call
197 static const unsigned TGT_EAGAIN = 35;
198 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
199};
200
201#endif // __ALPHA_ALPHA_LINUX_LINUX_HH__
2 * Copyright (c) 2003-2005 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 __ALPHA_ALPHA_LINUX_LINUX_HH__
32#define __ALPHA_ALPHA_LINUX_LINUX_HH__
33
34#include "kern/linux/linux.hh"
35
36/* AlphaLinux class contains static constants/definitions/misc.
37 * structures which are specific to the Linux OS AND the Alpha
38 * architecture
39 */
40class AlphaLinux : public Linux
41{
--- 149 unchanged lines hidden (view full) ---
191 uint64_t totalhigh; /* Total high memory size */
192 uint64_t freehigh; /* Available high memory size */
193 uint64_t mem_unit; /* Memory unit size in bytes */
194 } tgt_sysinfo;
195
196 // For futex system call
197 static const unsigned TGT_EAGAIN = 35;
198 static const unsigned TGT_EWOULDBLOCK = TGT_EAGAIN;
199};
200
201#endif // __ALPHA_ALPHA_LINUX_LINUX_HH__