diff options
Diffstat (limited to 'include/hooks.h')
-rw-r--r-- | include/hooks.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/hooks.h b/include/hooks.h index b27c52fc66..b8ed296529 100644 --- a/include/hooks.h +++ b/include/hooks.h @@ -11,9 +11,16 @@ #include "common.h" enum hook_priority { + /* Generic values across all hooks */ HOOK_PRIO_FIRST = 1, /* Highest priority */ HOOK_PRIO_DEFAULT = 5000, /* Default priority */ - HOOK_PRIO_LAST = 9999 /* Lowest priority */ + HOOK_PRIO_LAST = 9999, /* Lowest priority */ + + /* Specific hook vales for HOOK_INIT */ + /* LPC inits before modules which need memory-mapped I/O */ + HOOK_PRIO_INIT_LPC = HOOK_PRIO_FIRST + 1, + /* Chipset inits before modules which need to know its initial state. */ + HOOK_PRIO_INIT_CHIPSET = HOOK_PRIO_FIRST + 2, }; |