Deleted Added
sdiff udiff text old ( 5294:7222bdaed33b ) new ( 5299:e61b9f2a9732 )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

257}
258
259#endif
260
261#if FULL_SYSTEM
262void startupCPU(ThreadContext *tc, int cpuId)
263{
264 if (cpuId == 0) {
265 tc->activate(0);
266 } else {
267 // This is an application processor (AP). It should be initialized to
268 // look like only the BIOS POST has run on it and put then put it into
269 // a halted state.
270 tc->suspend();
271 }
272}
273
274#else
275
276void startupCPU(ThreadContext *tc, int cpuId)
277{
278 tc->activate(0);
279}
280
281#endif
282
283} //namespace X86_ISA