1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 468 unchanged lines hidden (view full) --- 477 code('m_${{param.name}}_ptr = p->${{param.name}};') 478 else: 479 code('m_${{param.name}} = p->${{param.name}};') 480 481 # 482 # For the l1 cache controller, add the special atomic support which 483 # includes passing the sequencer a pointer to the controller. 484 # |
485 for seq in sequencers: 486 code(''' |
487m_${{seq}}_ptr->setController(this); 488 ''') 489 |
490 # 491 # For the DMA controller, pass the sequencer a pointer to the 492 # controller. 493 # 494 if self.ident == "DMA": 495 if not contains_dma_sequencer: 496 self.error("The DMA controller must include the sequencer " \ 497 "configuration parameter") --- 1193 unchanged lines hidden --- |