[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] malloc bug ?
From: |
daniel_laptop |
Subject: |
Re: [avr-libc-dev] malloc bug ? |
Date: |
Sun, 08 Sep 2002 21:55:41 +1200 |
Joerg Wunsch wrote:
> As daniel_laptop wrote:
>
> > Can someone with more experence confirm if I am right ?
> >
> > in libc/stdlib/malloc.c
> > the line
> >
> > #define STACK_POINTER() (*(volatile unsigned int *)0x3d)
> >
> > should this be
> >
> > #define STACK_POINTER() (*(volatile unsigned int *)0x5d)
>
> I think you're right. Instead, we should probably just include
> <avr/io.h>, and use (char *)SP instead.
>
Will avr/io.h work in this file (compiled for all divice versions) ?
>
> --
> J"org Wunsch Unix support engineer
> address@hidden http://www.interface-systems.de/~j/
- [avr-libc-dev] malloc bug ?, daniel_laptop, 2002/09/08
- Re: [avr-libc-dev] malloc bug ?, Joerg Wunsch, 2002/09/08
- Re: [avr-libc-dev] malloc bug ?,
daniel_laptop <=
- Re: [avr-libc-dev] malloc bug ?, Joerg Wunsch, 2002/09/09
- Re: [avr-libc-dev] malloc bug ?, Theodore A. Roth, 2002/09/09
- Re: [avr-libc-dev] malloc bug ?, Joerg Wunsch, 2002/09/09
- Re: [avr-libc-dev] malloc bug ?, E. Weddington, 2002/09/09
- Re: [avr-libc-dev] malloc bug ?, Theodore A. Roth, 2002/09/09
- [avr-libc-dev] testsuite, Theodore A. Roth, 2002/09/09
- Re: [avr-libc-dev] testsuite, Joerg Wunsch, 2002/09/09
- Re: [avr-libc-dev] testsuite, Theodore A. Roth, 2002/09/09