Skip to contentSkip to conversation

qemu target-alpha/op_helper.c target-arm/op_hel...

Qemu-devel Fabrice Bellard 3 participants 3 messages Nov 11, 2007

lore
Share & tools
lore
#0 lore raw
#1 lore raw
Quoted 9 lines · Fabrice Bellard

Modified files:

	target-alpha   : op_helper.c 
	target-arm     : op_helper.c 
	target-cris    : op_helper.c 
	target-m68k    : op_helper.c 
	target-ppc     : op_helper.c 

Log message:
fixed invalid type

why was target_phys_addr_t and invalid type for the program counter? or you mean that it is better to cast it to unsigned long so that you can never overflow the pointer and so using unsigned long was better?

Carlo

#2 lore raw
Quoted 8 lines · Carlo Marcelo Arenas Belon
Quoted 7 lines · Fabrice Bellard

Modified files:

      target-alpha   : op_helper.c
      target-arm     : op_helper.c
      target-cris    : op_helper.c
      target-m68k    : op_helper.c
      target-ppc     : op_helper.c
Quoted 4 lines
Quoted 2 lines

Log message:
fixed invalid type

why was target_phys_addr_t and invalid type for the program counter?

Program counter is normally a virtual address.

Regards