From d3683440923051607ae96974fb2bdc5783993bf4 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 4 Oct 2011 02:26:03 -0700 Subject: SE/FS: Put platform pointers in fewer objects. Not all objects need a platform pointer, and having one creates a dependence on their being a platform object. This change removes the platform pointer to from the base device object and moves it into subclasses that actually need it. --- src/dev/alpha/AlphaBackdoor.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dev/alpha') diff --git a/src/dev/alpha/AlphaBackdoor.py b/src/dev/alpha/AlphaBackdoor.py index f7402f593..c6d4583c2 100644 --- a/src/dev/alpha/AlphaBackdoor.py +++ b/src/dev/alpha/AlphaBackdoor.py @@ -36,5 +36,6 @@ class AlphaBackdoor(BasicPioDevice): cpu = Param.BaseCPU(Parent.cpu[0], "Processor") disk = Param.SimpleDisk("Simple Disk") terminal = Param.Terminal(Parent.any, "The console terminal") + platform = Param.Platform(Parent.any, "Platform this device is part of.") if buildEnv['FULL_SYSTEM']: # No AlphaSystem in SE mode. system = Param.AlphaSystem(Parent.any, "system object") -- cgit v1.2.3