process.hh (11386:94c09b607a84) process.hh (11389:1e55f16160cb)
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2001-2005 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

331 /**
332 * Find an emulated device driver.
333 *
334 * @param filename Name of the device (under /dev)
335 * @return Pointer to driver object if found, else NULL
336 */
337 EmulatedDriver *findDriver(std::string filename);
338
1/*
2 * Copyright (c) 2014 Advanced Micro Devices, Inc.
3 * Copyright (c) 2001-2005 The Regents of The University of Michigan
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

331 /**
332 * Find an emulated device driver.
333 *
334 * @param filename Name of the device (under /dev)
335 * @return Pointer to driver object if found, else NULL
336 */
337 EmulatedDriver *findDriver(std::string filename);
338
339 // This function acts as a callback to update the bias value in
340 // the object file because the parameters needed to calculate the
341 // bias are not available when the object file is created.
342 void updateBias();
343
344 Addr getBias();
345 Addr getStartPC();
346
339 // this function is used to create the LiveProcess object, since
340 // we can't tell which subclass of LiveProcess to use until we
341 // open and look at the object file.
342 static LiveProcess *create(LiveProcessParams *params);
343};
344
345
346#endif // __PROCESS_HH__
347 // this function is used to create the LiveProcess object, since
348 // we can't tell which subclass of LiveProcess to use until we
349 // open and look at the object file.
350 static LiveProcess *create(LiveProcessParams *params);
351};
352
353
354#endif // __PROCESS_HH__