operatingsystem.cc (8229:78bf55f23338) operatingsystem.cc (9143:db55c4b5136e)
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;

--- 19 unchanged lines hidden (view full) ---

28 * Authors: Ali Saidi
29 */
30
31
32#include "base/misc.hh"
33#include "kern/operatingsystem.hh"
34
35int
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;

--- 19 unchanged lines hidden (view full) ---

28 * Authors: Ali Saidi
29 */
30
31
32#include "base/misc.hh"
33#include "kern/operatingsystem.hh"
34
35int
36OperatingSystem::openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc)
36OperatingSystem::openSpecialFile(std::string path, LiveProcess *process,
37 ThreadContext *tc)
37{
38{
38 warn("Attempting to open special file: %s. Ignorning. Simulation may"
39 warn("Attempting to open special file: %s. Ignoring. Simulation may"
39 " take un-expected code path or be non-deterministic until proper"
40 " handling is implemented.\n", path.c_str());
41 return -1;
42}
43
44
40 " take un-expected code path or be non-deterministic until proper"
41 " handling is implemented.\n", path.c_str());
42 return -1;
43}
44
45