mirror of
https://review.haiku-os.org/haiku
synced 2025-01-21 22:04:49 +01:00
a886f802fc
* The boot splash code now checks wether debug screen output is enabled or not using the above function. * The boot splash code no longer maps it's own copy of the frame buffer, instead, it will use the boot item feature as the VESA driver does. Also removed the lock, as that's not needed at all. * Renamed splash.cpp to boot_splash.cpp, and boot/splash.h to boot_splash.h (it's not part of the boot loader, but the kernel). * Removed dead code from boot_splash.cpp, added license. Replaced license header in boot_splash.h to a style guide conforming one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24489 a95241bf-73f2-0310-859d-f6bbb57e9c96
40 lines
743 B
C
40 lines
743 B
C
/*
|
|
* Copyright 2008, Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Artur Wyszynski <harakash@gmail.com>
|
|
*/
|
|
#ifndef KERNEL_BOOT_SPLASH_H
|
|
#define KERNEL_BOOT_SPLASH_H
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
enum {
|
|
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
|
|
};
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void boot_splash_init(void);
|
|
void boot_splash_set_stage(int stage);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* KERNEL_BOOT_SPLASH_H */
|