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 "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 ---
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 "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 ---