diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-04-24 22:33:08 -0500 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-01 07:07:33 +0200 |
commit | 0a6c20a2a3bc16aa12b04dd3db1d1260777edf0e (patch) | |
tree | d5ab49da23e52e262c016ed7cb3a11f8e6a1556e /src/include | |
parent | a4feddf897023b37cfac2af529e787504849f985 (diff) |
acpi: split resume check and actual resume code
It's helpful to provide a distinct state that affirmatively
describes that OS resume will occur. The previous code included
the check and the actual resuming in one function. Because of this
grouping one had to annotate the innards of the ACPI resume
path to perform specific actions before OS resume. By providing
a distinct state in the boot state machine the necessary actions
can be scheduled accordingly without modifying the ACPI code.
Change-Id: I8b00aacaf820cbfbb21cb851c422a143371878bd
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3134
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/bootstate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/bootstate.h b/src/include/bootstate.h index f28c07f17c..f732d1e1a2 100644 --- a/src/include/bootstate.h +++ b/src/include/bootstate.h @@ -96,6 +96,7 @@ typedef enum { BS_DEV_ENABLE, BS_DEV_INIT, BS_POST_DEVICE, + BS_OS_RESUME_CHECK, BS_OS_RESUME, BS_WRITE_TABLES, BS_PAYLOAD_LOAD, |