hex_file.cc (5545:d7c7b6752e2c) hex_file.cc (8229:78bf55f23338)
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

28 * Authors: Jaidev Patwardhan
29 */
30
31#include <cctype>
32#include <cstdio>
33#include <list>
34#include <string>
35
1/*
2 * Copyright (c) 2007 MIPS Technologies, Inc.
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;

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

28 * Authors: Jaidev Patwardhan
29 */
30
31#include <cctype>
32#include <cstdio>
33#include <list>
34#include <string>
35
36#include "base/cprintf.hh"
37#include "base/loader/hex_file.hh"
38#include "base/loader/symtab.hh"
36#include "base/loader/hex_file.hh"
37#include "base/loader/symtab.hh"
38#include "base/cprintf.hh"
39#include "mem/translating_port.hh"
40
41using namespace std;
42/*
43 * Load a Hex File into memory. Currently only used with MIPS
44 * BARE_IRON mode. A hex file consists of [Address Data] tuples that
45 * get directly loaded into physical memory. The address specified is
46 * a word address (i.e., to get the byte address, shift left by 2) The

--- 92 unchanged lines hidden ---
39#include "mem/translating_port.hh"
40
41using namespace std;
42/*
43 * Load a Hex File into memory. Currently only used with MIPS
44 * BARE_IRON mode. A hex file consists of [Address Data] tuples that
45 * get directly loaded into physical memory. The address specified is
46 * a word address (i.e., to get the byte address, shift left by 2) The

--- 92 unchanged lines hidden ---