1 #ifndef HW_XTENSA_BOOTPARAM
2 #define HW_XTENSA_BOOTPARAM
9 static inline ram_addr_t
put_tag(ram_addr_t addr
, uint16_t tag
,
10 size_t size
, const void *data
)
14 .size
= tswap16((size
+ 3) & ~3),
17 cpu_physical_memory_write(addr
, &bp_tag
, sizeof(bp_tag
));
18 addr
+= sizeof(bp_tag
);
19 cpu_physical_memory_write(addr
, data
, size
);
20 addr
+= (size
+ 3) & ~3;