On 2 September 2013 22:18, Hervé Poussineau wrote:
> Yes, aliases should probably work, but it won't be handy to create lots of
> them. Moreover, this function needs to be expanded later to handle an
> additional endianness switch, which will change both addresses and values...
FWIW, I think the
Peter Maydell a écrit :
On 23 August 2013 19:52, Hervé Poussineau wrote:
- let it load a firmware (raw or elf image)
- add a GPIO to let it handle the non-contiguous I/O address space
- provide a bus master address space
Also move isa_mem_base from PCI host to machine board.
Simplify pre
On 23 August 2013 19:52, Hervé Poussineau wrote:
> - let it load a firmware (raw or elf image)
> - add a GPIO to let it handle the non-contiguous I/O address space
> - provide a bus master address space
> Also move isa_mem_base from PCI host to machine board.
> Simplify prep board code by relyi
On 2 September 2013 21:26, Hervé Poussineau wrote:
> Richard Henderson a écrit :
>
>> On 08/23/2013 11:52 AM, Hervé Poussineau wrote:
>>>
>>> +uint8_t buf[4];
>>> +uint64_t val;
>>> +
>>> +if (s->contiguous_map == 0) {
>>> +/* 64 KB contiguous space for IOs */
>>> +addr
Richard Henderson a écrit :
On 08/23/2013 11:52 AM, Hervé Poussineau wrote:
+uint8_t buf[4];
+uint64_t val;
+
+if (s->contiguous_map == 0) {
+/* 64 KB contiguous space for IOs */
+addr &= 0x;
+} else {
+/* 8 MB non-contiguous space for IOs */
+
On 08/23/2013 11:52 AM, Hervé Poussineau wrote:
> +uint8_t buf[4];
> +uint64_t val;
> +
> +if (s->contiguous_map == 0) {
> +/* 64 KB contiguous space for IOs */
> +addr &= 0x;
> +} else {
> +/* 8 MB non-contiguous space for IOs */
> +addr = (addr
- let it load a firmware (raw or elf image)
- add a GPIO to let it handle the non-contiguous I/O address space
- provide a bus master address space
Missing part is dynamic endianness change, which is required for
IBM AIX and MS Windows NT/PPC.
Also move isa_mem_base from PCI host to machine board