[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] catching misspeeled signal names
From: |
Theodore A. Roth |
Subject: |
Re: [avr-libc-dev] [RFC] catching misspeeled signal names |
Date: |
Wed, 21 Apr 2004 11:28:13 -0700 (PDT) |
Once again, I forgot to attach the patch in the previous reply. :-(
On Wed, 21 Apr 2004, Dmitry K. wrote:
> Hi.
>
> Next items are working with `avr-libc-misspeeled-sig-2.diff':
> - SIGNAL(SIG_INTERRUPT0) in C and asm, OK
> - SIGNAL(SIG_MISSED) produced error in C and asm, OK
>
> But after this patch:
> 1. It is necessary to rewrite asm
> 2. It is impossible to call ISR-function as common C function.
>
> I propose next scheme, that is removing last disadvantages:
>
> SIGNAL(SIG_INTERRUPT0)
> ==> SIG_INTERRUPT0 ## _TMP() // signal.h
> ==> __vector_1 ## _TMP() // signal.h
> ==> __vector_1_TMP() // signal.h
> ==> __vector_1 // vec_tmp.h
>
> Now:
> SIGNAL(): with spelling cheking (C and asm)
> SIG_XXX: for direct substitution (old asm and function names)
>
> Files:
> signal.h - changed
> vec_tmp.h - added (builded from `vec_tmp.sh')
>
> Notes:
> - it is possible to add asm macro (.globl, .type ...)
> as in `avr-...-2.diff'
> - it is necessary to add comments and strings, as "-> Missp..."
>
> Attached contains files above and examples.
>
> Best regards.
>
---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden
avr-libc-misspeeled-sig-4.diff
Description: Text document
- [avr-libc-dev] [RFC] catching misspeeled signal names, Theodore A. Roth, 2004/04/19
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, E. Weddington, 2004/04/19
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Theodore A. Roth, 2004/04/19
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Dmitry K., 2004/04/20
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Joerg Wunsch, 2004/04/20
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Theodore A. Roth, 2004/04/20
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Theodore A. Roth, 2004/04/20
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Dmitry K., 2004/04/21
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Theodore A. Roth, 2004/04/21
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names,
Theodore A. Roth <=
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Dmitry K., 2004/04/21
- Re: [avr-libc-dev] [RFC] catching misspeeled signal names, Theodore A. Roth, 2004/04/20