Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e749794 in mainline


Ignore:
Timestamp:
2009-03-18T14:31:03Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
7dfc120a
Parents:
84afc7b
Message:

ignore leading spaces in video mode command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/boot/vesa_prot.inc

    r84afc7b re749794  
    3939        skip_loop_done:
    4040       
    41         mov (%esi), %al
    42         cmp $0, %al
    43         je no_cmdline
     41        space_loop:
     42                mov (%esi), %al
     43               
     44                cmp $0, %al
     45                je no_cmdline
     46               
     47                cmp $' ', %al
     48                jne space_loop_done
     49               
     50                inc %esi
     51                jmp space_loop
     52        space_loop_done:
    4453       
    4554        # copy at most 23 characters from command line
Note: See TracChangeset for help on using the changeset viewer.