* Give boot stages a more meaningful name, make the max stage count known.
* Calculate icon offset from stage in splash.cpp, remove hard coded placement values. Draw only icon, not the whole image from top/left to right of icon. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24439 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -35,13 +35,15 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
BOOT_SPLASH_STAGE_1 = 0,
|
||||
BOOT_SPLASH_STAGE_2,
|
||||
BOOT_SPLASH_STAGE_3,
|
||||
BOOT_SPLASH_STAGE_4,
|
||||
BOOT_SPLASH_STAGE_5,
|
||||
BOOT_SPLASH_STAGE_6,
|
||||
BOOT_SPLASH_STAGE_7
|
||||
BOOT_SPLASH_STAGE_1_INIT_MODULES = 0,
|
||||
BOOT_SPLASH_STAGE_2_BOOTSTRAP_FS,
|
||||
BOOT_SPLASH_STAGE_3_INIT_DEVICES,
|
||||
BOOT_SPLASH_STAGE_4_MOUNT_BOOT_FS,
|
||||
BOOT_SPLASH_STAGE_5_INIT_CPU_MODULES,
|
||||
BOOT_SPLASH_STAGE_6_INIT_VM_MODULES,
|
||||
BOOT_SPLASH_STAGE_7_RUN_BOOT_SCRIPT,
|
||||
|
||||
BOOT_SPLASH_STAGE_MAX // keep this at the end
|
||||
};
|
||||
|
||||
status_t boot_splash_fb_init(struct kernel_args *args);
|
||||
|
||||
Reference in New Issue
Block a user