This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cyg_alarm - suggestion for enhancement


Here are the patches to add the following functions to the KAPI:

void cyg_alarm_set_callback(
     cyg_handle_t       alarm,
     cyg_alarm_t        *alarmfn /* new alarm callback function       */
);

cyg_alarm_t *cyg_alarm_get_callback( cyg_handle_t alarm );


This will make alarms more compatible with vxWorks' watch dog functions
and make it easier to port from vxWorks to eCos.

This is such a trivial change that I'm hoping that we can forgo a
copyright assignment, although my company will be sending a copyright
assignment to you guys eventually for other changes that we think will
be useful to the community at large.

The diffs were tested with the KAPI interface.

Thanks,
-Rich

Attachment: diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]