On Mon, 21 Jul 2008 13:36:33 -0300 Luis Machado <[EMAIL PROTECTED]> wrote:
> > > This doesn't look right for how it's coded. This would be the > > CONFIG_4xx || CONFIG_BOOKE case, but CONFIG_4xx includes PowerPC 405. > > That has a different bit layout among the DBCR registers. Namely, on > > 405 you would be clearing the TDE and IAC1 events because the DAC > > events are in DBCR1, not DBCR0. > > Maybe guarding the 405-specific parts in a separate "#if > defined(CONFIG_40x)" block will do? That, or adding a small function to move the bits to the appropriate registers (set_dbcr or set_dac_events). > Do you think it's worth to support this facility on 405's processors? If > so, i'll gladly work on a solution to it. I would think so. There's really no difference from a userspace perspective, so gdb watchpoints could be valuable there too. I'll leave it up to you though. josh _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev