Changes in kernel/arch/ia32/src/boot/vesa_real.inc [cf155ed:c427578] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/vesa_real.inc
rcf155ed rc427578 154 154 mov $e_vesa_init - vesa_init, %di 155 155 push %di 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). 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) 164 163 */ 165 164 movl $0x32454256, (%di) … … 304 303 /* 305 304 * Store mode parameters: 306 * eax = bpp[ 16] scanline[16]305 * eax = bpp[8] scanline[16] 307 306 * ebx = width[16] height[16] 308 307 * edx = red_mask[8] red_pos[8] green_mask[8] green_pos[8] … … 328 327 shl $8, %edx 329 328 mov VESA_MODE_RED_POS_OFFSET(%di), %dl 330 331 329 shl $8, %edx 332 330 mov VESA_MODE_GREEN_MASK_OFFSET(%di), %dl … … 370 368 mov $0x0003, %ax 371 369 int $0x10 372 373 xor %eax, %eax 374 xor %ebx, %ebx 375 xor %edx, %edx 376 xor %edi, %edi 377 370 mov $0xffffffff, %edi 371 xor %ax, %ax 378 372 jz vesa_leave_real /* force relative jump */ 379 373 … … 391 385 392 386 default_mode: 393 .ascii STRING(CONFIG_ BFB_MODE)387 .ascii STRING(CONFIG_VESA_MODE) 394 388 .ascii "-" 395 .asciz STRING(CONFIG_ BFB_BPP)389 .asciz STRING(CONFIG_VESA_BPP) 396 390 .fill 24 397 391
Note:
See TracChangeset
for help on using the changeset viewer.