Searched refs:rtc_set_memory (Results 1 – 3 of 3) sorted by relevance
/external/qemu/hw/ |
D | pc.c | 209 rtc_set_memory(s, type_ofs, 47); in cmos_init_hd() 210 rtc_set_memory(s, info_ofs, cylinders); in cmos_init_hd() 211 rtc_set_memory(s, info_ofs + 1, cylinders >> 8); in cmos_init_hd() 212 rtc_set_memory(s, info_ofs + 2, heads); in cmos_init_hd() 213 rtc_set_memory(s, info_ofs + 3, 0xff); in cmos_init_hd() 214 rtc_set_memory(s, info_ofs + 4, 0xff); in cmos_init_hd() 215 rtc_set_memory(s, info_ofs + 5, 0xc0 | ((heads > 8) << 3)); in cmos_init_hd() 216 rtc_set_memory(s, info_ofs + 6, cylinders); in cmos_init_hd() 217 rtc_set_memory(s, info_ofs + 7, cylinders >> 8); in cmos_init_hd() 218 rtc_set_memory(s, info_ofs + 8, sectors); in cmos_init_hd() [all …]
|
D | mc146818rtc.c | 479 void rtc_set_memory(RTCState *s, int addr, int val) in rtc_set_memory() function 505 rtc_set_memory(s, REG_IBM_CENTURY_BYTE, val); in rtc_set_date_from_host() 506 rtc_set_memory(s, REG_IBM_PS2_CENTURY_BYTE, val); in rtc_set_date_from_host()
|
D | pc.h | 96 void rtc_set_memory(RTCState *s, int addr, int val);
|