forked from len0rd/rockbox
It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657 |
||
|---|---|---|
| .. | ||
| bmp_smooth_scale.c | ||
| buflib.c | ||
| buflib.h | ||
| checkbox.c | ||
| checkbox.h | ||
| configfile.c | ||
| configfile.h | ||
| display_text.c | ||
| display_text.h | ||
| feature_wrappers.h | ||
| fixedpoint.c | ||
| fixedpoint.h | ||
| gcc-support.c | ||
| grey.h | ||
| grey_coldfire.S | ||
| grey_core.c | ||
| grey_draw.c | ||
| grey_parm.c | ||
| grey_scroll.c | ||
| grey_sh.S | ||
| helper.c | ||
| helper.h | ||
| highscore.c | ||
| highscore.h | ||
| jhash.c | ||
| jhash.h | ||
| jpeg_mem.h | ||
| md5.c | ||
| md5.h | ||
| mylcd.h | ||
| overlay.c | ||
| overlay.h | ||
| picture.c | ||
| picture.h | ||
| playback_control.c | ||
| playback_control.h | ||
| playergfx.c | ||
| playergfx.h | ||
| pluginlib_actions.c | ||
| pluginlib_actions.h | ||
| pluginlib_albumart.c | ||
| pluginlib_bmp.c | ||
| pluginlib_bmp.h | ||
| pluginlib_exit.h | ||
| pluginlib_jpeg_idct_arm.S | ||
| pluginlib_jpeg_load.c | ||
| pluginlib_jpeg_mem.c | ||
| pluginlib_resize.c | ||
| pluginlib_touchscreen.c | ||
| pluginlib_touchscreen.h | ||
| profile_plugin.c | ||
| profile_plugin.h | ||
| read_image.c | ||
| read_image.h | ||
| rgb_hsv.c | ||
| rgb_hsv.h | ||
| simple_viewer.c | ||
| simple_viewer.h | ||
| SOURCES | ||
| strncpy.c | ||
| wrappers.h | ||
| xlcd.h | ||
| xlcd_core.c | ||
| xlcd_draw.c | ||
| xlcd_scroll.c | ||