X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/a6327524107e76c689841eda10fbc19030b4cd15..6093edb55a1c35ac1163e244f02023345e3e3aca:/netwatch/smi.c 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(); }