mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-13 12:59:45 +00:00
tools:acrn-crashlog: Get reboot reason in acrnprobe
Get system reboot reason from kernel commandline. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
This commit is contained in:
@@ -19,4 +19,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
extern void read_startupreason(char *startupreason);
|
||||
#define REBOOT_REASON_SIZE 32
|
||||
|
||||
extern void read_startupreason(char *startupreason, const size_t limit);
|
||||
|
Reference in New Issue
Block a user