1/*
2 * Copyright 2008, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Artur Wyszynski <harakash@gmail.com>
7 */
8#ifndef KERNEL_BOOT_SPLASH_H
9#define KERNEL_BOOT_SPLASH_H
10
11
12#include <sys/types.h>
13
14enum {
15	BOOT_SPLASH_STAGE_1_INIT_MODULES = 0,
16	BOOT_SPLASH_STAGE_2_BOOTSTRAP_FS,
17	BOOT_SPLASH_STAGE_3_INIT_DEVICES,
18	BOOT_SPLASH_STAGE_4_MOUNT_BOOT_FS,
19	BOOT_SPLASH_STAGE_5_INIT_CPU_MODULES,
20	BOOT_SPLASH_STAGE_6_INIT_VM_MODULES,
21	BOOT_SPLASH_STAGE_7_RUN_BOOT_SCRIPT,
22
23	BOOT_SPLASH_STAGE_MAX // keep this at the end
24};
25
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31void boot_splash_init(uint8 * boot_splash);
32void boot_splash_uninit(void);
33void boot_splash_set_stage(int stage);
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* KERNEL_BOOT_SPLASH_H */
40