tag | line | file | source code |
real_minutes | 448 | kernel/time.c | int real_seconds, real_minutes, cmos_minutes; |
real_minutes | 467 | kernel/time.c | real_minutes = nowtime / 60; |
real_minutes | 468 | kernel/time.c | if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) |
real_minutes | 469 | kernel/time.c | real_minutes += 30; /* correct for half hour time zone */ |
real_minutes | 470 | kernel/time.c | real_minutes %= 60; |
real_minutes | 472 | kernel/time.c | if (abs(real_minutes - cmos_minutes) < 30) |
real_minutes | 477 | kernel/time.c | BIN_TO_BCD(real_minutes); |
real_minutes | 480 | kernel/time.c | CMOS_WRITE(real_minutes,RTC_MINUTES); |