From 5c7ebee434a0328802c01b38c19845c50ae75cab Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:06 -0500 Subject: x86: Move APIC clock divider to Python This patch moves the 16x APIC clock divider to the Python code to avoid the post-instantiation modifications to the clock. The x86 APIC was the only object setting the clock after creation time and this required some custom functionality and configuration. With this patch, the clock multiplier is moved to the Python code and the objects are instantiated with the appropriate clock. --- src/arch/x86/interrupts.hh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/arch/x86/interrupts.hh') diff --git a/src/arch/x86/interrupts.hh b/src/arch/x86/interrupts.hh index 06094f0b1..4e6ef4324 100644 --- a/src/arch/x86/interrupts.hh +++ b/src/arch/x86/interrupts.hh @@ -201,12 +201,6 @@ class Interrupts : public BasicPioDevice, IntDev void setCPU(BaseCPU * newCPU); - void - setClock(Tick newClock) - { - clock = newClock; - } - const Params * params() const { -- cgit v1.2.3