Re: [PATCH] target/rx/cpu: Use address_space_ldl() to read reset vector address

2020-03-16 Thread Peter Maydell
On Sun, 15 Mar 2020 at 13:49, Philippe Mathieu-Daudé wrote: > > From: Philippe Mathieu-Daudé > > The RX code flash is not a Masked ROM but a EEPROM (electrically > erasable programmable flash memory). > When implementing the flash hardware, the rom_ptr() returns NULL > and the reset vector is

Re: [PATCH] target/rx/cpu: Use address_space_ldl() to read reset vector address

2020-03-15 Thread Richard Henderson
On 3/15/20 6:48 AM, Philippe Mathieu-Daudé wrote: > From: Philippe Mathieu-Daudé > > The RX code flash is not a Masked ROM but a EEPROM (electrically > erasable programmable flash memory). > When implementing the flash hardware, the rom_ptr() returns NULL > and the reset vector is not set. >

Re: [PATCH] target/rx/cpu: Use address_space_ldl() to read reset vector address

2020-03-15 Thread Philippe Mathieu-Daudé
On 3/15/20 2:48 PM, Philippe Mathieu-Daudé wrote: From: Philippe Mathieu-Daudé Hmm author email should be ... The RX code flash is not a Masked ROM but a EEPROM (electrically erasable programmable flash memory). When implementing the flash hardware, the rom_ptr() returns NULL and the reset

[PATCH] target/rx/cpu: Use address_space_ldl() to read reset vector address

2020-03-15 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé The RX code flash is not a Masked ROM but a EEPROM (electrically erasable programmable flash memory). When implementing the flash hardware, the rom_ptr() returns NULL and the reset vector is not set. Instead, use the address_space ld/st API to fetch the reset vector