mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Cleanup SPARC/TCX framebuffer allocation.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7059 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7ffa47675c
commit
dc828ca1b5
5 changed files with 26 additions and 16 deletions
8
exec.c
8
exec.c
|
@ -2427,6 +2427,14 @@ void qemu_ram_free(ram_addr_t addr)
|
|||
{
|
||||
}
|
||||
|
||||
/* Return a host pointer to ram allocated with qemu_ram_alloc.
|
||||
This may only be used if you actually allocated the ram, and
|
||||
aready know how but the ram block is. */
|
||||
void *qemu_get_ram_ptr(ram_addr_t addr)
|
||||
{
|
||||
return phys_ram_base + addr;
|
||||
}
|
||||
|
||||
static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr)
|
||||
{
|
||||
#ifdef DEBUG_UNASSIGNED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue