system.cc (6378:4a2ff62c3b4f) system.cc (7064:586b0e3a12b3)
1/*
2 * Copyright (c) 2004-2006 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;

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

80 params()->boot_osflags.length()+1);
81
82 /**
83 * find the address of the est_cycle_freq variable and insert it
84 * so we don't through the lengthly process of trying to
85 * calculated it by using the PIT, RTC, etc.
86 */
87 if (kernelSymtab->findAddress("est_cycle_freq", addr))
1/*
2 * Copyright (c) 2004-2006 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;

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

80 params()->boot_osflags.length()+1);
81
82 /**
83 * find the address of the est_cycle_freq variable and insert it
84 * so we don't through the lengthly process of trying to
85 * calculated it by using the PIT, RTC, etc.
86 */
87 if (kernelSymtab->findAddress("est_cycle_freq", addr))
88 virtPort.write(addr, (uint64_t)(Clock::Frequency /
88 virtPort.write(addr, (uint64_t)(SimClock::Frequency /
89 p->boot_cpu_frequency));
90
91 /**
92 * EV5 only supports 127 ASNs so we are going to tell the kernel that the
93 * paritiuclar EV6 we have only supports 127 asns.
94 * @todo At some point we should change ev5.hh and the palcode to support
95 * 255 ASNs.
96 */

--- 93 unchanged lines hidden ---
89 p->boot_cpu_frequency));
90
91 /**
92 * EV5 only supports 127 ASNs so we are going to tell the kernel that the
93 * paritiuclar EV6 we have only supports 127 asns.
94 * @todo At some point we should change ev5.hh and the palcode to support
95 * 255 ASNs.
96 */

--- 93 unchanged lines hidden ---