IntelMP.py (5825:da5f7e97958c) IntelMP.py (5838:47ada83a8958)
1# Copyright (c) 2008 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

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

85
86 ext_entries = VectorParam.X86IntelMPExtConfigEntry([],
87 'extended configuration table entries')
88
89 def add_entry(self, entry):
90 if isinstance(entry, X86IntelMPBaseConfigEntry):
91 self.base_entries.append(entry)
92 elif isinstance(entry, X86IntelMPExtConfigEntry):
1# Copyright (c) 2008 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

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

85
86 ext_entries = VectorParam.X86IntelMPExtConfigEntry([],
87 'extended configuration table entries')
88
89 def add_entry(self, entry):
90 if isinstance(entry, X86IntelMPBaseConfigEntry):
91 self.base_entries.append(entry)
92 elif isinstance(entry, X86IntelMPExtConfigEntry):
93 self.base_entries.append(entry)
93 self.ext_entries.append(entry)
94 else:
95 panic("Don't know what type of Intel MP entry %s is." \
96 % entry.__class__.__name__)
97
98class X86IntelMPBaseConfigEntry(SimObject):
99 type = 'X86IntelMPBaseConfigEntry'
100 cxx_class = 'X86ISA::IntelMP::BaseConfigEntry'
101 abstract = True

--- 141 unchanged lines hidden ---
94 else:
95 panic("Don't know what type of Intel MP entry %s is." \
96 % entry.__class__.__name__)
97
98class X86IntelMPBaseConfigEntry(SimObject):
99 type = 'X86IntelMPBaseConfigEntry'
100 cxx_class = 'X86ISA::IntelMP::BaseConfigEntry'
101 abstract = True

--- 141 unchanged lines hidden ---