fd_array.cc (11886:43b882cada33) fd_array.cc (12334:e0ab29a34764)
1/*
2 * Copyright (c) 2016 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

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

37
38#include <fcntl.h>
39#include <unistd.h>
40
41#include <array>
42#include <memory>
43#include <string>
44
1/*
2 * Copyright (c) 2016 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

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

37
38#include <fcntl.h>
39#include <unistd.h>
40
41#include <array>
42#include <memory>
43#include <string>
44
45#include "base/misc.hh"
45#include "base/logging.hh"
46#include "params/Process.hh"
47#include "sim/fd_entry.hh"
48
49FDArray::FDArray(std::string const& input, std::string const& output,
50 std::string const& errout)
51 : _input(input), _output(output), _errout(errout), _fdArray(),
52 imap {{"", -1},
53 {"cin", STDIN_FILENO},

--- 298 unchanged lines hidden ---
46#include "params/Process.hh"
47#include "sim/fd_entry.hh"
48
49FDArray::FDArray(std::string const& input, std::string const& output,
50 std::string const& errout)
51 : _input(input), _output(output), _errout(errout), _fdArray(),
52 imap {{"", -1},
53 {"cin", STDIN_FILENO},

--- 298 unchanged lines hidden ---