Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dq35-test.c134 uint32_t ram_offs; in test_tseg_size() local
173 ram_offs = (TSEG_SIZE_TEST_GUEST_RAM_MBYTES - args->expected_tseg_mbytes) * in test_tseg_size()
175 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 0); in test_tseg_size()
176 qtest_writeb(qts, ram_offs, 1); in test_tseg_size()
177 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 1); in test_tseg_size()
179 ram_offs++; in test_tseg_size()
180 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 0xff); in test_tseg_size()
181 qtest_writeb(qts, ram_offs, 1); in test_tseg_size()
182 g_assert_cmpint(qtest_readb(qts, ram_offs), ==, 0xff); in test_tseg_size()