Home
last modified time | relevance | path

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

/external/qemu/hw/
Dpc.c204 static void cmos_init_hd(int type_ofs, int info_ofs, BlockDriverState *hd) in cmos_init_hd() argument
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()