operatingsystem.cc (11851:824055fe6b30) operatingsystem.cc (12334:e0ab29a34764)
1/*
2 * Copyright (c) 2009 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: Ali Saidi
29 */
30
31
32#include "kern/operatingsystem.hh"
33
1/*
2 * Copyright (c) 2009 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: Ali Saidi
29 */
30
31
32#include "kern/operatingsystem.hh"
33
34#include "base/misc.hh"
34#include "base/logging.hh"
35
36int
37OperatingSystem::openSpecialFile(std::string path, Process *process,
38 ThreadContext *tc)
39{
40 warn("Attempting to open special file: %s. Ignoring. Simulation may"
41 " take un-expected code path or be non-deterministic until proper"
42 " handling is implemented.\n", path.c_str());
43 return -1;
44}
45
46
35
36int
37OperatingSystem::openSpecialFile(std::string path, Process *process,
38 ThreadContext *tc)
39{
40 warn("Attempting to open special file: %s. Ignoring. Simulation may"
41 " take un-expected code path or be non-deterministic until proper"
42 " handling is implemented.\n", path.c_str());
43 return -1;
44}
45
46