rtc.c | 268 int s, clockcentury, cmoscentury; local in function:clock_expandyear 280 cmoscentury = mc146818_read(NULL, 285 cmoscentury = mc146818_read(NULL, NVRAM_CENTURY); 288 cmoscentury = mc146818_read(NULL, (centb = 0x37)); 291 cmoscentury = 0; 293 if (!cmoscentury) { 299 cmoscentury = bcdtobin(cmoscentury); 301 if (cmoscentury != clockcentury) { 304 cmoscentury, clockyear) [all...] |