[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] Re: Timers
From: |
Keith Gudger |
Subject: |
[Simulavr-devel] Re: Timers |
Date: |
Mon, 8 Mar 2004 15:36:13 -0800 (PST) |
Ted:
I've got the timers done, as far as that goes. Two things:
The current timers.c file doesn't connect the OCR regs to
the timer16. Would you like to me to look into this? It may mean that I
have to declare the OCR regs *after* the timer in the atxxx.h files.
(putting the I/O addresses out of order.)
I'm using the *data field in a couple of my vdev_creates. If I forget to
put the .data field in the at43usb3xx.h file, when vdev_create gets called
I get a segmentation fault. Should I put a check in my xyz_create()
function to check for this, or does it belong in devsupp.c? I guess
there's no easy way to initialize the struct io_reg_defn *reg ?
Keith
On Sun, 7 Mar 2004, Theodore A. Roth wrote:
> On Fri, 5 Mar 2004, Keith Gudger wrote:
>
> > Ted:
> >
> > I've got the ADC, UART, SPI and USB modules working. Should I work on the
> > Timers? Thanks.
>
> Sorry about not replying sooner, been busy and nearly forgot.
>
> If you want to work on the timers, that might be faster than waiting on me
> since I'm having trouble finding time to work on simulavr right now.
>
> If you can send me patches for what you've already done, I'll try to merge
> them in as soon as I can.
>
> BTW: ioreg name patch you sent me has been in cvs for while now.
>
> Thanks.
>
> Ted Roth
>
>