Automated leading tab to spaces conversion.
This commit is contained in:
@ -95,9 +95,9 @@ typedef struct CPUTLBEntry {
|
||||
uintptr_t addend;
|
||||
/* padding to get a power of two size */
|
||||
#if defined(_MSC_VER) && defined(_WIN64)
|
||||
// dummy would be size 0 which isnt supported by msvc, so we remove it
|
||||
// dummy would be size 0 which isnt supported by msvc, so we remove it
|
||||
#else
|
||||
uint8_t dummy[(1 << CPU_TLB_ENTRY_BITS) -
|
||||
uint8_t dummy[(1 << CPU_TLB_ENTRY_BITS) -
|
||||
(sizeof(target_ulong) * 3 +
|
||||
(((-(int)sizeof(target_ulong)) * 3) & (sizeof(uintptr_t) - 1)) +
|
||||
sizeof(uintptr_t))];
|
||||
|
@ -196,7 +196,7 @@ static inline unsigned int tb_jmp_cache_hash_func(target_ulong pc)
|
||||
target_ulong tmp;
|
||||
tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS));
|
||||
return (((tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK)
|
||||
| (tmp & TB_JMP_ADDR_MASK));
|
||||
| (tmp & TB_JMP_ADDR_MASK));
|
||||
}
|
||||
|
||||
static inline unsigned int tb_phys_hash_func(tb_page_addr_t pc)
|
||||
|
@ -241,14 +241,14 @@ struct MemoryRegionSection {
|
||||
static inline MemoryRegionSection MemoryRegionSection_make(MemoryRegion *mr, AddressSpace *address_space,
|
||||
hwaddr offset_within_region, Int128 size, hwaddr offset_within_address_space, bool readonly)
|
||||
{
|
||||
MemoryRegionSection section;
|
||||
section.mr = mr;
|
||||
section.address_space = address_space;
|
||||
section.offset_within_region = offset_within_region;
|
||||
section.size = size;
|
||||
section.offset_within_address_space = offset_within_address_space;
|
||||
section.readonly = readonly;
|
||||
return section;
|
||||
MemoryRegionSection section;
|
||||
section.mr = mr;
|
||||
section.address_space = address_space;
|
||||
section.offset_within_region = offset_within_region;
|
||||
section.size = size;
|
||||
section.offset_within_address_space = offset_within_address_space;
|
||||
section.readonly = readonly;
|
||||
return section;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user