system.cc (7447:3fc243687abb) system.cc (7580:6f77f379a594)
1/*
2 * Copyright (c) 2002-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;

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

60
61 // Load pal file
62 pal = createObjectFile(params()->pal);
63 if (pal == NULL)
64 fatal("Could not load PALcode file %s", params()->pal);
65
66
67 // Load program sections into memory
1/*
2 * Copyright (c) 2002-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;

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

60
61 // Load pal file
62 pal = createObjectFile(params()->pal);
63 if (pal == NULL)
64 fatal("Could not load PALcode file %s", params()->pal);
65
66
67 // Load program sections into memory
68 pal->loadSections(&functionalPort, LoadAddrMask);
69 console->loadSections(&functionalPort, LoadAddrMask);
68 pal->loadSections(&functionalPort, loadAddrMask);
69 console->loadSections(&functionalPort, loadAddrMask);
70
71 // load symbols
72 if (!console->loadGlobalSymbols(consoleSymtab))
73 panic("could not load console symbols\n");
74
75 if (!pal->loadGlobalSymbols(palSymtab))
76 panic("could not load pal symbols\n");
77

--- 138 unchanged lines hidden ---
70
71 // load symbols
72 if (!console->loadGlobalSymbols(consoleSymtab))
73 panic("could not load console symbols\n");
74
75 if (!pal->loadGlobalSymbols(palSymtab))
76 panic("could not load pal symbols\n");
77

--- 138 unchanged lines hidden ---