l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (OT) Request for advice: asm offsets


From: Jonathan S. Shapiro
Subject: Re: (OT) Request for advice: asm offsets
Date: Sat, 05 Nov 2005 16:35:44 -0500

Never mind. I should have used google first.

On Sat, 2005-11-05 at 16:26 -0500, Jonathan S. Shapiro wrote:
> I would appreciate advice and/or suggestions about a Coyotos issue.
> 
> In Coyotos, there is a small list of structures defined in C that are
> accessed from assembly level. We need to maintain a header file of field
> offsets for these structures.
> 
> This is a serious pain in the ass to maintain, and it was a common
> source of errors in EROS. Eventually, I decided to use an awk script
> that generated both the C header and the assembler offset files from a
> definition file. Some other things were generated from this as well.
> This approach worked, but it isn't doxygen friendly.
> 
> I definitely want to avoid solutions that rely on being able to compile
> a .o successfully.
> 
> The remaining alternative is to write a tool that can parse the C
> headers directly and emit the asm offsets.
> 
> Before I go write one, does anyone know if such a tool already exists?
> 
> 
> shap
> 
> 
> 
> _______________________________________________
> L4-hurd mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/l4-hurd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]