[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] catching misspeeled signal names
From: |
Dmitry K. |
Subject: |
Re: [avr-libc-dev] [RFC] catching misspeeled signal names |
Date: |
Wed, 21 Apr 2004 16:35:48 +1100 |
User-agent: |
KMail/1.5 |
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.
scheme.tar.gz
Description: application/tgz
- [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. <=
- 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, 2004/04/21
- 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