#530 closed defect (fixed)

Map prefetchable PCI memory as conventional

Reported by: gregory.menke Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: bsps Version: 4.6
Severity: normal Keywords:
Cc: bugs@…, gregory.menke@… Blocked By:
Blocking:

Description

Force all pci memory spaces to be non-prefetchable because
on the pci bus, byte-wise reads against prefetchable
memory are applied as 32 bit reads, which is a pain
when you're trying to talk to non dword-aligned or non
dword-sized registers.

The fix is a little sub-optimal because the algorithm doesn't sort
the address regions to pack them in, OTOH, perhaps its
not so bad because the inefficient packing will help
avoid buffer overflow/underflow problems by leaving lots
of space between regions.

Release:
RTEMS-4.6

Environment:
motorola_shared bsp, bootloader/pci.c

Attachments (1)

joel-diffs (4.5 KB) - added by gregory.menke on Dec 3, 2006 at 1:31:12 PM.
joel-diffs

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Dec 6, 2004 at 5:27:16 PM by gregory.menke

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: obsoleted by PR 729

Changed on Dec 3, 2006 at 1:31:12 PM by gregory.menke

Attachment: joel-diffs added

joel-diffs

Note: See TracTickets for help on using tickets.