Deleted Added
sdiff udiff text old ( 3114:7a4771b9b720 ) new ( 3311:7eb47a60dbd4 )
full compact
1/*
2 * Copyright (c) 2001-2005 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;

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

235Process::sim_fd(int tgt_fd)
236{
237 if (tgt_fd > MAX_FD)
238 return -1;
239
240 return fd_map[tgt_fd];
241}
242
243
244
245//
246// need to declare these here since there is no concrete Process type
247// that can be constructed (i.e., no REGISTER_SIM_OBJECT() macro call,
248// which is where these get declared for concrete types).
249//
250DEFINE_SIM_OBJECT_CLASS_NAME("Process", Process)
251
252

--- 287 unchanged lines hidden ---