syscall_return.hh (11794:97eebddaae84) | syscall_return.hh (11800:54436a1784dc) |
---|---|
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: Gabe Black 29 */ 30 31#ifndef __SIM_SYSCALLRETURN_HH__ 32#define __SIM_SYSCALLRETURN_HH__ 33 | 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: Gabe Black 29 */ 30 31#ifndef __SIM_SYSCALLRETURN_HH__ 32#define __SIM_SYSCALLRETURN_HH__ 33 |
34#include "base/types.hh" | 34#include <inttypes.h> |
35 36/** 37 * This class represents the return value from an emulated system call, 38 * including any errno setting. 39 * 40 * On some platforms, the return value and errno are encoded in a 41 * single signed integer. A value less than zero but greater than 42 * -4096 indicates an error, and the value is the negation of the --- 74 unchanged lines hidden --- | 35 36/** 37 * This class represents the return value from an emulated system call, 38 * including any errno setting. 39 * 40 * On some platforms, the return value and errno are encoded in a 41 * single signed integer. A value less than zero but greater than 42 * -4096 indicates an error, and the value is the negation of the --- 74 unchanged lines hidden --- |