Rev 4128 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4128 | Rev 4149 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | je skip_loop_done |
36 | je skip_loop_done |
37 | 37 | ||
38 | jmp skip_loop |
38 | jmp skip_loop |
39 | skip_loop_done: |
39 | skip_loop_done: |
40 | 40 | ||
- | 41 | space_loop: |
|
41 | mov (%esi), %al |
42 | mov (%esi), %al |
- | 43 | ||
42 | cmp $0, %al |
44 | cmp $0, %al |
43 | je no_cmdline |
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: |
|
44 | 53 | ||
45 | # copy at most 23 characters from command line |
54 | # copy at most 23 characters from command line |
46 | 55 | ||
47 | mov $VESA_INIT_SEGMENT << 4, %edi |
56 | mov $VESA_INIT_SEGMENT << 4, %edi |
48 | add $default_mode - vesa_init, %edi |
57 | add $default_mode - vesa_init, %edi |