2 * Copyright 2005-2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef KERNEL_FRAME_BUFFER_CONSOLE_H
6 #define KERNEL_FRAME_BUFFER_CONSOLE_H
15 #define FRAME_BUFFER_CONSOLE_MODULE_NAME "console/frame_buffer/v1"
16 #define FRAME_BUFFER_BOOT_INFO "frame_buffer/v1"
18 struct frame_buffer_boot_info
{
20 addr_t physical_frame_buffer
;
26 uint8 vesa_capabilities
;
33 bool frame_buffer_console_available(void);
34 status_t
frame_buffer_update(addr_t baseAddress
, int32 width
, int32 height
,
35 int32 depth
, int32 bytesPerRow
);
36 status_t
frame_buffer_console_init(struct kernel_args
* args
);
37 status_t
frame_buffer_console_init_post_modules(struct kernel_args
* args
);
39 status_t
_user_frame_buffer_update(addr_t baseAddress
, int32 width
,
40 int32 height
, int32 depth
, int32 bytesPerRow
);
46 #endif /* KERNEL_FRAME_BUFFER_CONSOLE_H */