Changes in kernel/arch/ia32/src/boot/vesa_real.inc [c427578:cf155ed] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/vesa_real.inc
rc427578 rcf155ed 154 154 mov $e_vesa_init - vesa_init, %di 155 155 push %di 156 /* Write "VBE2" signature to info structure in order to get 157 * proper mode information. The presence of "VBE2" indicates two 158 * things: 159 * - VBE controller information structure is 512 bytes long 160 * instead of 256 161 * - The BIOS reports VBE 3.0 information (including non-standard 162 * modes in mode list) 156 /* Write the "VBE2" signature into the info structure in order 157 * to get proper mode information. The presence of "VBE2" 158 * indicates two things: 159 * 160 * - VBE controller information structure is expected to be 161 * 512 bytes long instead of 256 bytes. 162 * - The BIOS should report VBE 3.0 information (potentially 163 * including non-standard modes in the mode list). 163 164 */ 164 165 movl $0x32454256, (%di) … … 303 304 /* 304 305 * Store mode parameters: 305 * eax = bpp[ 8] scanline[16]306 * eax = bpp[16] scanline[16] 306 307 * ebx = width[16] height[16] 307 308 * edx = red_mask[8] red_pos[8] green_mask[8] green_pos[8] … … 327 328 shl $8, %edx 328 329 mov VESA_MODE_RED_POS_OFFSET(%di), %dl 330 329 331 shl $8, %edx 330 332 mov VESA_MODE_GREEN_MASK_OFFSET(%di), %dl … … 368 370 mov $0x0003, %ax 369 371 int $0x10 370 mov $0xffffffff, %edi 371 xor %ax, %ax 372 373 xor %eax, %eax 374 xor %ebx, %ebx 375 xor %edx, %edx 376 xor %edi, %edi 377 372 378 jz vesa_leave_real /* force relative jump */ 373 379 … … 385 391 386 392 default_mode: 387 .ascii STRING(CONFIG_ VESA_MODE)393 .ascii STRING(CONFIG_BFB_MODE) 388 394 .ascii "-" 389 .asciz STRING(CONFIG_ VESA_BPP)395 .asciz STRING(CONFIG_BFB_BPP) 390 396 .fill 24 391 397
Note:
See TracChangeset
for help on using the changeset viewer.