operatingsystem.cc (9143:db55c4b5136e) | operatingsystem.cc (11793:ef606668d247) |
---|---|
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; --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Ali Saidi 29 */ 30 31 | 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; --- 15 unchanged lines hidden (view full) --- 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Ali Saidi 29 */ 30 31 |
32#include "base/misc.hh" | |
33#include "kern/operatingsystem.hh" 34 | 32#include "kern/operatingsystem.hh" 33 |
34#include "base/misc.hh" 35 |
|
35int 36OperatingSystem::openSpecialFile(std::string path, LiveProcess *process, 37 ThreadContext *tc) 38{ 39 warn("Attempting to open special file: %s. Ignoring. Simulation may" 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 | 36int 37OperatingSystem::openSpecialFile(std::string path, LiveProcess *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 |