process_impl.hh (6227:a17798f2a52c) process_impl.hh (7678:f19b6a3a8cec)
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;

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

40#include "config/full_system.hh"
41
42#if !FULL_SYSTEM
43
44#include <string>
45#include <vector>
46
47#include "mem/translating_port.hh"
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;

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

40#include "config/full_system.hh"
41
42#if !FULL_SYSTEM
43
44#include <string>
45#include <vector>
46
47#include "mem/translating_port.hh"
48#include "sim/byteswap.hh"
48
49
50//This needs to be templated for cases where 32 bit pointers are needed.
51template<class AddrType>
52void
53copyStringArray(std::vector<std::string> &strings,
54 AddrType array_ptr, AddrType data_ptr,
55 TranslatingPort* memPort)

--- 20 unchanged lines hidden ---
49
50
51//This needs to be templated for cases where 32 bit pointers are needed.
52template<class AddrType>
53void
54copyStringArray(std::vector<std::string> &strings,
55 AddrType array_ptr, AddrType data_ptr,
56 TranslatingPort* memPort)

--- 20 unchanged lines hidden ---