summaryrefslogtreecommitdiff
path: root/apps/plugins/test_boost.c
AgeCommit message (Collapse)Author
2010-08-24Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz
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
2010-08-23Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz
Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
2010-08-23Introduce plugin_crt0.c that every plugin links.Thomas Martitz
It handles exit() properly, calling the handler also when the plugin returns normally (also it makes 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 it 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@27862 a1c6a512-1295-4272-9138-f99709370657
2010-04-05test_boost: fix r25464: button_get() can't be used with actionsAndree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25480 a1c6a512-1295-4272-9138-f99709370657
2010-04-03Make test_mem.c and test_boost.c compilable on targets without BUTTON_UP.Andree Buschmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25464 a1c6a512-1295-4272-9138-f99709370657
2010-04-01Fix test_boost boost handling. Also show the number of loops per second.Thomas Martitz
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25429 a1c6a512-1295-4272-9138-f99709370657
2009-07-12set svn:keywords propertyTeruaki Kawashima
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21809 a1c6a512-1295-4272-9138-f99709370657
2009-01-19port test_boost.c to global plugin APIAndrew Mahone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19796 a1c6a512-1295-4272-9138-f99709370657
2009-01-13A simple boost test plugin.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19767 a1c6a512-1295-4272-9138-f99709370657