Changeset 09b859c in mainline for kernel/arch/ia32/src
- Timestamp:
- 2010-07-07T18:37:44Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77385fe
- Parents:
- e2ea4ab1 (diff), 22c3444 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- kernel/arch/ia32/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/asm.S
re2ea4ab1 r09b859c 428 428 * Since the EGA can only display Extended ASCII (usually 429 429 * ISO Latin 1) characters, some of the Unicode characters 430 * can be displayed in a wrong way. Only the newline character431 * isinterpreted, all other characters (even unprintable) are430 * can be displayed in a wrong way. Only newline and backspace 431 * are interpreted, all other characters (even unprintable) are 432 432 * printed verbatim. 433 433 * … … 481 481 482 482 cmp $0x0a, %al 483 jne early_putchar_ print483 jne early_putchar_backspace 484 484 485 485 /* Interpret newline */ … … 495 495 subw %dx, %bx 496 496 497 jmp early_putchar_newline 497 jmp early_putchar_skip 498 499 early_putchar_backspace: 500 501 cmp $0x08, %al 502 jne early_putchar_print 503 504 /* Interpret backspace */ 505 506 cmp $0x0000, %bx 507 je early_putchar_skip 508 509 dec %bx 510 jmp early_putchar_skip 498 511 499 512 early_putchar_print: … … 505 518 inc %bx 506 519 507 early_putchar_ newline:520 early_putchar_skip: 508 521 509 522 /* Sanity check for the cursor on the last line */ … … 514 527 movl $(PA2KA(0xb80a0)), %esi 515 528 movl $(PA2KA(0xb8000)), %edi 516 movl $ 1920, %ecx517 rep movs w529 movl $960, %ecx 530 rep movsl 518 531 519 532 /* Clear the 24th row */ 520 533 xorl %eax, %eax 521 movl $ 80, %ecx522 rep stos w534 movl $40, %ecx 535 rep stosl 523 536 524 537 /* Go to row 24 */ -
kernel/arch/ia32/src/boot/boot.S
re2ea4ab1 r09b859c 240 240 movl $0xb80a0, %esi 241 241 movl $0xb8000, %edi 242 movl $ 1920, %ecx243 rep movs w242 movl $960, %ecx 243 rep movsl 244 244 245 245 /* Clear the 24th row */ 246 246 xorl %eax, %eax 247 movl $ 80, %ecx248 rep stos w247 movl $40, %ecx 248 rep stosl 249 249 250 250 /* Go to row 24 */ … … 348 348 movl $0xb80a0, %esi 349 349 movl $0xb8000, %edi 350 movl $ 1920, %ecx351 rep movs w350 movl $960, %ecx 351 rep movsl 352 352 353 353 /* Clear the 24th row */ 354 354 xorl %eax, %eax 355 movl $ 80, %ecx356 rep stos w355 movl $40, %ecx 356 rep stosl 357 357 358 358 /* Go to row 24 */ … … 463 463 movl $(PA2KA(0xb80a0)), %esi 464 464 movl $(PA2KA(0xb8000)), %edi 465 movl $ 1920, %ecx466 rep movs w465 movl $960, %ecx 466 rep movsl 467 467 468 468 /* Clear the 24th row */ 469 469 xorl %eax, %eax 470 movl $ 80, %ecx471 rep stos w470 movl $40, %ecx 471 rep stosl 472 472 473 473 /* Go to row 24 */
Note:
See TracChangeset
for help on using the changeset viewer.