system.cc (7447:3fc243687abb) | system.cc (7580:6f77f379a594) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 56 unchanged lines hidden (view full) --- 65 // Load Console Code 66 console = createObjectFile(params()->console); 67 68 warn("console code is located at: %s\n", params()->console); 69 70 if (console == NULL) 71 fatal("Could not load console file %s", params()->console); 72 //Load program sections into memory | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 56 unchanged lines hidden (view full) --- 65 // Load Console Code 66 console = createObjectFile(params()->console); 67 68 warn("console code is located at: %s\n", params()->console); 69 70 if (console == NULL) 71 fatal("Could not load console file %s", params()->console); 72 //Load program sections into memory |
73 console->loadSections(&functionalPort, MipsISA::LoadAddrMask); | 73 console->loadSections(&functionalPort, loadAddrMask); |
74 75 //load symbols 76 if (!console->loadGlobalSymbols(consoleSymtab)) 77 panic("could not load console symbols\n"); 78 79 if (!console->loadGlobalSymbols(debugSymbolTable)) 80 panic("could not load console symbols\n"); 81 --- 75 unchanged lines hidden --- | 74 75 //load symbols 76 if (!console->loadGlobalSymbols(consoleSymtab)) 77 panic("could not load console symbols\n"); 78 79 if (!console->loadGlobalSymbols(debugSymbolTable)) 80 panic("could not load console symbols\n"); 81 --- 75 unchanged lines hidden --- |