mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/xtensa: remove extraneous xtensa_ prefix from file names
While at it rename lx60 (named after the first board of the family) to more generic xtfpga (the family name). Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
37ed7c4b24
commit
b707ab757e
4 changed files with 3 additions and 3 deletions
25
hw/xtensa/bootparam.h
Normal file
25
hw/xtensa/bootparam.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef HW_XTENSA_BOOTPARAM
|
||||
#define HW_XTENSA_BOOTPARAM
|
||||
|
||||
typedef struct BpTag {
|
||||
uint16_t tag;
|
||||
uint16_t size;
|
||||
} BpTag;
|
||||
|
||||
static inline ram_addr_t put_tag(ram_addr_t addr, uint16_t tag,
|
||||
size_t size, const void *data)
|
||||
{
|
||||
BpTag bp_tag = {
|
||||
.tag = tswap16(tag),
|
||||
.size = tswap16((size + 3) & ~3),
|
||||
};
|
||||
|
||||
cpu_physical_memory_write(addr, &bp_tag, sizeof(bp_tag));
|
||||
addr += sizeof(bp_tag);
|
||||
cpu_physical_memory_write(addr, data, size);
|
||||
addr += (size + 3) & ~3;
|
||||
|
||||
return addr;
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue