Opened 13 years ago

Last modified 8 years ago

#358 new enhancement

IRQ pseudocode compiler — at Initial Version

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone:
Component: helenos/lib/other Version: mainline
Keywords: gsoc12, gsoc13, gsoc14, gsoc15, socis15, gsoc16, gsoc17 Cc:
Blocker for: Depends on:
See also:

Description

IRQ pseudocode in drivers is typically written as a C initializer (array of structs with designated members). This is not very concise/elegant. What's worse, often we need to substitute constants into the code, which is done by patching the instructions at run time by hand.

It would be much more elegant to define a text-based language for expressing this symbolic instruction code. Thus the driver could express the pseudocode as a simple string literal that would be then converted to the binary form. The language could allow for named constants, which would make the code much more readable.

Change History (0)

Note: See TracTickets for help on using tickets.