linux.cc (6712:b95abe00dd9d) linux.cc (8232:b28d06a175be)
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;

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

27 *
28 * Authors: Ali Saidi
29 */
30
31#include <cstdio>
32#include <string>
33
34#include "cpu/thread_context.hh"
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;

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

27 *
28 * Authors: Ali Saidi
29 */
30
31#include <cstdio>
32#include <string>
33
34#include "cpu/thread_context.hh"
35#include "debug/SyscallVerbose.hh"
35#include "kern/linux/linux.hh"
36#include "sim/process.hh"
37#include "sim/system.hh"
38
39int
40Linux::openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc)
41{
42 DPRINTF(SyscallVerbose, "Opening special file: %s\n", path.c_str());

--- 24 unchanged lines hidden ---
36#include "kern/linux/linux.hh"
37#include "sim/process.hh"
38#include "sim/system.hh"
39
40int
41Linux::openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc)
42{
43 DPRINTF(SyscallVerbose, "Opening special file: %s\n", path.c_str());

--- 24 unchanged lines hidden ---