mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 14:40:54 +00:00
parent
49f835db86
commit
0285e5f217
@ -63,7 +63,9 @@ bool modify_at(addr_t addr)
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (value != READ_TEST + 1) {
|
if (value != READ_TEST + 1) {
|
||||||
addr_t value_mod = ++(*(addr_t volatile *)(addr));
|
|
||||||
|
(*(addr_t volatile *)(addr)) = (*(addr_t volatile *)(addr)) + 1;
|
||||||
|
addr_t value_mod = (*(addr_t volatile *)(addr));
|
||||||
|
|
||||||
/* if we are get told to stop, do so */
|
/* if we are get told to stop, do so */
|
||||||
if (*(addr_t volatile *)(addr + sizeof(addr)) == STOP_TEST)
|
if (*(addr_t volatile *)(addr + sizeof(addr)) == STOP_TEST)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user