FSConfig.py (8898:f777750a00e2) FSConfig.py (8919:c1366a30d5eb)
1# Copyright (c) 2010-2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

505 base_entries.append(assign_to_apic)
506 assignISAInt(0, 2)
507 assignISAInt(1, 1)
508 for i in range(3, 15):
509 assignISAInt(i, i)
510 self.intel_mp_table.base_entries = base_entries
511 self.intel_mp_table.ext_entries = ext_entries
512
1# Copyright (c) 2010-2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

505 base_entries.append(assign_to_apic)
506 assignISAInt(0, 2)
507 assignISAInt(1, 1)
508 for i in range(3, 15):
509 assignISAInt(i, i)
510 self.intel_mp_table.base_entries = base_entries
511 self.intel_mp_table.ext_entries = ext_entries
512
513def setWorkCountOptions(system, options):
514 if options.work_item_id != None:
515 system.work_item_id = options.work_item_id
516 if options.work_begin_cpu_id_exit != None:
517 system.work_begin_cpu_id_exit = options.work_begin_cpu_id_exit
518 if options.work_end_exit_count != None:
519 system.work_end_exit_count = options.work_end_exit_count
520 if options.work_end_checkpoint_count != None:
521 system.work_end_ckpt_count = options.work_end_checkpoint_count
522 if options.work_begin_exit_count != None:
523 system.work_begin_exit_count = options.work_begin_exit_count
524 if options.work_begin_checkpoint_count != None:
525 system.work_begin_ckpt_count = options.work_begin_checkpoint_count
526 if options.work_cpus_checkpoint_count != None:
527 system.work_cpus_ckpt_count = options.work_cpus_checkpoint_count
528
529
530def makeLinuxX86System(mem_mode, numCPUs = 1, mdesc = None, Ruby = False):
531 self = LinuxX86System()
532
533 # Build up the x86 system and then specialize it for Linux
534 makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)
535
536 # We assume below that there's at least 1MB of memory. We'll require 2
537 # just to avoid corner cases.

--- 110 unchanged lines hidden ---
513def makeLinuxX86System(mem_mode, numCPUs = 1, mdesc = None, Ruby = False):
514 self = LinuxX86System()
515
516 # Build up the x86 system and then specialize it for Linux
517 makeX86System(mem_mode, numCPUs, mdesc, self, Ruby)
518
519 # We assume below that there's at least 1MB of memory. We'll require 2
520 # just to avoid corner cases.

--- 110 unchanged lines hidden ---