summaryrefslogtreecommitdiff
path: root/include/hooks.h
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2022-01-28 10:01:57 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-29 18:05:17 +0000
commitd24ce4a74e449d705eadb860569543dab5d78d84 (patch)
tree5c08a489ede37a67e50f6dafa61d1ee275959c40 /include/hooks.h
parentae6930a3cc844343b979040720a0239beeb87abe (diff)
downloadchrome-ec-d24ce4a74e449d705eadb860569543dab5d78d84.tar.gz
hooks: add HOOK_PRIO_POST_DEFAULT
Add the HOOK_PRIO_POST_DEFAULT alias for (HOOK_PRIO_DEFAULT+1). This more clearly identifies the intent of this priority level. BUG=none BRANCH=none TEST=compare_build.sh Signed-off-by: Keith Short <keithshort@chromium.org> Change-Id: I58debd5545386a0ca01ebe59a431a2cfa997a32a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3553677 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'include/hooks.h')
-rw-r--r--include/hooks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hooks.h b/include/hooks.h
index a8a69c18cb..19ec2c52c3 100644
--- a/include/hooks.h
+++ b/include/hooks.h
@@ -15,6 +15,7 @@ enum hook_priority {
HOOK_PRIO_FIRST = 1, /* Highest priority */
HOOK_PRIO_DEFAULT = 5000, /* Default priority */
HOOK_PRIO_PRE_DEFAULT = HOOK_PRIO_DEFAULT - 1,
+ HOOK_PRIO_POST_DEFAULT = HOOK_PRIO_DEFAULT + 1,
HOOK_PRIO_LAST = 9999, /* Lowest priority */
/* Specific hook vales for HOOK_INIT */