mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
|
@ -64,7 +64,7 @@ struct dma_s {
|
|||
|
||||
struct memmap_entry_s {
|
||||
enum soc_dma_port_type type;
|
||||
a_target_phys_addr addr;
|
||||
target_phys_addr_t addr;
|
||||
union {
|
||||
struct {
|
||||
void *opaque;
|
||||
|
@ -105,7 +105,7 @@ static void soc_dma_ch_run(void *opaque)
|
|||
}
|
||||
|
||||
static inline struct memmap_entry_s *soc_dma_lookup(struct dma_s *dma,
|
||||
a_target_phys_addr addr)
|
||||
target_phys_addr_t addr)
|
||||
{
|
||||
struct memmap_entry_s *lo;
|
||||
int hi;
|
||||
|
@ -254,7 +254,7 @@ struct soc_dma_s *soc_dma_init(int n)
|
|||
return &s->soc;
|
||||
}
|
||||
|
||||
void soc_dma_port_add_fifo(struct soc_dma_s *soc, a_target_phys_addr virt_base,
|
||||
void soc_dma_port_add_fifo(struct soc_dma_s *soc, target_phys_addr_t virt_base,
|
||||
soc_dma_io_t fn, void *opaque, int out)
|
||||
{
|
||||
struct memmap_entry_s *entry;
|
||||
|
@ -307,7 +307,7 @@ void soc_dma_port_add_fifo(struct soc_dma_s *soc, a_target_phys_addr virt_base,
|
|||
}
|
||||
|
||||
void soc_dma_port_add_mem(struct soc_dma_s *soc, uint8_t *phys_base,
|
||||
a_target_phys_addr virt_base, size_t size)
|
||||
target_phys_addr_t virt_base, size_t size)
|
||||
{
|
||||
struct memmap_entry_s *entry;
|
||||
struct dma_s *dma = (struct dma_s *) soc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue