Revision 8
pointer validation in util_sys_inb
timer.c | ||
---|---|---|
61 | 61 |
} |
62 | 62 |
if(timer_print_config(timer, field, conf)) return 1; |
63 | 63 |
} |
64 |
if(field == tsf_all || field == tsf_mode){
|
|
64 |
if(field == tsf_mode){ |
|
65 | 65 |
conf.count_mode = (st & TIMER_MODE_MASK)>>TIMER_MODE_POS; |
66 | 66 |
if(timer_print_config(timer, field, conf)) return 1; |
67 | 67 |
} |
68 |
if(field == tsf_all || field == tsf_base){
|
|
68 |
if(field == tsf_base){ |
|
69 | 69 |
conf.bcd = st & TIMER_BCD; |
70 | 70 |
if(timer_print_config(timer, field, conf)) return 1; |
71 | 71 |
} |
Also available in: Unified diff