cleanup for pull request
This commit is contained in:
6
uc.c
6
uc.c
@ -31,6 +31,8 @@
|
||||
|
||||
#include "qemu/include/hw/boards.h"
|
||||
|
||||
static MemoryRegion *getMemoryBlock(struct uc_struct *uc, uint64_t address);
|
||||
|
||||
UNICORN_EXPORT
|
||||
unsigned int uc_version(unsigned int *major, unsigned int *minor)
|
||||
{
|
||||
@ -353,8 +355,8 @@ uc_err uc_mem_read(uch handle, uint64_t address, uint8_t *bytes, size_t size)
|
||||
return UC_ERR_OK;
|
||||
}
|
||||
|
||||
static MemoryRegion *getMemoryBlock(struct uc_struct *uc, uint64_t address);
|
||||
static MemoryRegion *getMemoryBlock(struct uc_struct *uc, uint64_t address) {
|
||||
static MemoryRegion *getMemoryBlock(struct uc_struct *uc, uint64_t address)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for(i = 0; i < uc->mapped_block_count; i++) {
|
||||
|
Reference in New Issue
Block a user