linux.hh (2665:a124942bacb8) | linux.hh (3113:a6811aaea654) |
---|---|
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; --- 23 unchanged lines hidden (view full) --- 32#define __ARCH_SPARC_LINUX_LINUX_HH__ 33 34#include "kern/linux/linux.hh" 35 36class SparcLinux : public Linux 37{ 38 public: 39 | 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; --- 23 unchanged lines hidden (view full) --- 32#define __ARCH_SPARC_LINUX_LINUX_HH__ 33 34#include "kern/linux/linux.hh" 35 36class SparcLinux : public Linux 37{ 38 public: 39 |
40 typedef struct { 41 uint32_t st_dev; 42 char __pad1[4]; 43 uint64_t st_ino; 44 uint32_t st_mode; 45 uint16_t st_nlink; 46 uint32_t st_uid; 47 uint32_t st_gid; 48 uint32_t st_rdev; 49 char __pad2[4]; 50 int64_t st_size; 51 int64_t st_atimeX; 52 int64_t st_mtimeX; 53 int64_t st_ctimeX; 54 int64_t st_blksize; 55 int64_t st_blocks; 56 uint64_t __unused4[2]; 57 } tgt_stat; 58 |
|
40 static OpenFlagTransTable openFlagTable[]; 41 42 static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY 43 static const int TGT_O_WRONLY = 0x00000001; //!< O_WRONLY 44 static const int TGT_O_RDWR = 0x00000002; //!< O_RDWR 45 static const int TGT_O_NONBLOCK = 0x00004000; //!< O_NONBLOCK 46 static const int TGT_O_APPEND = 0x00000008; //!< O_APPEND 47 static const int TGT_O_CREAT = 0x00000200; //!< O_CREAT --- 16 unchanged lines hidden --- | 59 static OpenFlagTransTable openFlagTable[]; 60 61 static const int TGT_O_RDONLY = 0x00000000; //!< O_RDONLY 62 static const int TGT_O_WRONLY = 0x00000001; //!< O_WRONLY 63 static const int TGT_O_RDWR = 0x00000002; //!< O_RDWR 64 static const int TGT_O_NONBLOCK = 0x00004000; //!< O_NONBLOCK 65 static const int TGT_O_APPEND = 0x00000008; //!< O_APPEND 66 static const int TGT_O_CREAT = 0x00000200; //!< O_CREAT --- 16 unchanged lines hidden --- |