X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/3c4e084de9ed00171748c20de1251d347fc33c1c..6093edb55a1c35ac1163e244f02023345e3e3aca:/netwatch/smi.c?ds=sidebyside diff --git a/netwatch/smi.c b/netwatch/smi.c index e551ac4..296d613 100644 --- a/netwatch/smi.c +++ b/netwatch/smi.c @@ -73,6 +73,7 @@ void smi_entry(void) extern void timer_handler(smi_event_t ev); extern void kbc_handler(smi_event_t ev); extern void gbl_rls_handler(smi_event_t ev); +extern void cs410_pwrbtn_handler(smi_event_t ev); void __firstrun_stub() { @@ -93,6 +94,9 @@ void __firstrun_stub() { smi_register_handler(SMI_EVENT_GBL_RLS, gbl_rls_handler); smi_enable_event(SMI_EVENT_GBL_RLS); + + smi_register_handler(SMI_EVENT_PWRBTN, cs410_pwrbtn_handler); + smi_enable_event(SMI_EVENT_PWRBTN); smi_enable(); }