search for: keyword_cnt

Displaying 2 results from an estimated 2 matches for "keyword_cnt".

2009 Jul 13
0
[PATCH] gfxboot: change handling of keywords
...modules/gfxboot.asm =================================================================== --- syslinux-3.82-440-g6483c80.orig/modules/gfxboot.asm +++ syslinux-3.82-440-g6483c80/modules/gfxboot.asm @@ -699,33 +699,39 @@ parse_config: mov bx, msg_crlf int 22h %endif + mov bx,keywords + mov cx,[keyword_cnt] +.keywords_loop: + push cx push si push di - xor ecx,ecx + xor cx,cx mov si,configbuf - mov di,label_keyword+1 - mov cl, byte [label_keyword] + mov di,[bx] + mov cl,byte [di] + inc di call memcmp pop di pop si - jz .do_label + jnz .not_found + pop cx + call [bx+2] ; c...
2009 Jul 15
0
[PATCH] gfxboot: parse TIMEOUT keyword
...dd 100 keyword_text_label db 6,'label',0 keyword_text_default db 7,'default',0 +keyword_text_timeout db 7,'timeout',0 keywords equ $ dw keyword_text_label dw do_label dw keyword_text_default dw do_default + dw keyword_text_timeout + dw do_timeout keyword_cnt dw ($-keywords)/4 ; menu entry descriptor @@ -971,6 +1039,9 @@ dentry_buf_len equ $ - dentry_buf max_cmd_len equ 2047 command_line resb max_cmd_len+2 +NumBuf resb 15 +NumBufEnd resb 1 + alignb 4 derivative_id resb 1 drivenumber resb 1