Home
last modified time | relevance | path

Searched refs:t (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/timers/rtc/
Drtc.c22 int rtc_get_cmos_time(struct rtc_time_t *t) in rtc_get_cmos_time() argument
33 t->year = read_cmos(0x09); in rtc_get_cmos_time()
34 t->month = read_cmos(0x08); in rtc_get_cmos_time()
35 t->day = read_cmos(0x07); in rtc_get_cmos_time()
36 t->hour = read_cmos(0x04); in rtc_get_cmos_time()
37 t->minute = read_cmos(0x02); in rtc_get_cmos_time()
38 t->second = read_cmos(0x00); in rtc_get_cmos_time()
39 } while (t->second != read_cmos(0x00)); // 若读取时间过程中时间发生跳变则重新读取 in rtc_get_cmos_time()
45 t->second = (t->second & 0xf) + (t->second >> 4) * 10; in rtc_get_cmos_time()
46 t->minute = (t->minute & 0xf) + (t->minute >> 4) * 10; in rtc_get_cmos_time()
[all …]
Drtc.h19 int rtc_get_cmos_time(struct rtc_time_t*t);
/DragonOS-0.1.2/kernel/
Dcbindgen.toml15 # default: doesn't emit anything
20 # default: doesn't emit anything
24 # default: doesn't emit an include guard
33 # default: doesn't emit anything
34 autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. …
41 # default: doesn't emit a namespace
85 # If the language is not C this option won't have any effect.
156 # A list of substitutions for converting cfg's to ifdefs. cfgs which aren't
173 # found but otherwise don't appear to be used by the public API.
228 # given name. This can be used to add things like methods which don't change ABI,
[all …]
/DragonOS-0.1.2/docs/
Dmake.bat23 echo.If you don't have Sphinx installed, grab it from
/DragonOS-0.1.2/
Dbochsrc38 logprefix: %t%e%d
/DragonOS-0.1.2/kernel/src/libs/
Didr.c12 struct idr_layer *t = *a; in __swap() local
13 *a = *b, *b = t; in __swap()
343 struct idr_layer *t = idp->top->layer ? idp->top->ary[0] : NULL; in __idr_erase_full() local
345 idp->top = t; in __idr_erase_full()
Dlz4.c736 U64 const t = (((val >> 8) - mask) | val) & mask; in LZ4_NbCommonBytes()
737 return ctz7_tab[(t * 0x0080402010080402ULL) >> 57]; in LZ4_NbCommonBytes()
1857 LZ4_stream_t t; in LZ4_stream_t_alignment() member
/DragonOS-0.1.2/kernel/src/driver/interrupt/apic/
Dapic.c70 struct acpi_IO_APIC_Structure_t *t = (struct acpi_IO_APIC_Structure_t *)ent; in apic_io_apic_init() local
72 io_apic_ICS = t; in apic_io_apic_init()