mirror of https://github.com/0Nera/BMOSP.git
Улучшение визуального оформление в PCI
This commit is contained in:
parent
4fee1d1c64
commit
365aacf4bc
|
@ -96,9 +96,9 @@ static inline void scan( ) {
|
|||
*/
|
||||
|
||||
char *name = find_vendor(vendor);
|
||||
fb_printf("[%4u] %4x [%s], устройство: %x, %u.%u.%u | ", devices, vendor, name, device_id, bus, slot,
|
||||
fb_printf("[%4u] %4x [%10s], устройство: %x, %u.%u.%u | ", devices, vendor, name, device_id, bus, slot,
|
||||
function);
|
||||
fb_printf("%s", get_class_name(class_id));
|
||||
fb_printf("%32s", get_class_name(class_id));
|
||||
|
||||
/*
|
||||
fb_printf(" | %8x : %8x", mem_addr_0, mem_lim_0);
|
||||
|
|
|
@ -155,7 +155,7 @@ module_info_t __attribute__((section(".minit"))) init(env_t *env) {
|
|||
module_info_t *boot_tga = get_module("[BOOTIMG]");
|
||||
|
||||
if (boot_tga != NULL) {
|
||||
#if 0
|
||||
#if 0
|
||||
framebuffer_t screen = alloc_framebuffer( );
|
||||
uint32_t *screen_buf = screen.address;
|
||||
|
||||
|
@ -173,7 +173,7 @@ module_info_t __attribute__((section(".minit"))) init(env_t *env) {
|
|||
screen_buf[w * height + h] = *img_data++;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
return (module_info_t){ .name = (char *)"[MEDIA][TGA]",
|
||||
|
|
Loading…
Reference in New Issue