Patch by Philippe Saint-Pierre:
* Implemented RLE compression for the boot splash images, resulting in smaller kernel and boot loader. * Only the boot loader contains the RLE compressed images, the decompressed buffer for the icons is passed to the kernel via kernel args. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24812 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
+5453
-15090
File diff suppressed because it is too large
Load Diff
@@ -79,6 +79,10 @@ typedef struct kernel_args {
|
||||
|
||||
platform_kernel_args platform_args;
|
||||
arch_kernel_args arch_args;
|
||||
|
||||
// bootsplash data
|
||||
uint8 *boot_splash;
|
||||
|
||||
} kernel_args;
|
||||
|
||||
#endif /* KERNEL_BOOT_KERNEL_ARGS_H */
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
enum {
|
||||
BOOT_SPLASH_STAGE_1_INIT_MODULES = 0,
|
||||
BOOT_SPLASH_STAGE_2_BOOTSTRAP_FS,
|
||||
@@ -29,7 +28,7 @@ enum {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void boot_splash_init(void);
|
||||
void boot_splash_init(uint8 * boot_splash);
|
||||
void boot_splash_set_stage(int stage);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user