#832 closed enhancement (fixed)

small fixes to pcx86 BSP (pci find device; segment descriptor tables)

Reported by: strauman Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: bsps Version: 4.6
Severity: minor Keywords:
Cc: bugs@…, strauman@… Blocked By:


Two proposed changes:
1) replace BSP_pciFindDevice implementation by pcibios call
2) (unrelated) move CPU segment descriptor tables from .text to .data; the CPU modifies the descriptor tables and this could be a problem:

a) if text segment is ever write-protected
b) rtems-gdb-stub checksums the text segment against

the file gdb is using. A checksum mismatch results
because of the CPU touching the 'accessed' bit...


Attachments (1)

pcx86-fixes.diff (4.3 KB) - added by strauman on Dec 3, 2006 at 1:31:12 PM.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Nov 8, 2005 at 5:54:45 PM by strauman

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Applied on head and 4.6 branch; tested with qemu on pc586 BSP

Changed on Dec 3, 2006 at 1:31:12 PM by strauman

Attachment: pcx86-fixes.diff added


Note: See TracTickets for help on using tickets.