Changeset 8149a2de in rtems


Ignore:
Timestamp:
Mar 30, 2007, 8:42:57 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7d169ecd
Parents:
f68663dc
Message:

Reflect changes to rtems/pci.h.
Convert to using stdint fixed-size types.

Location:
c/src/lib/libbsp/i386/shared/pci
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/pci/pcibios.c

    rf68663dc r8149a2de  
    234234    unsigned char dev;
    235235    unsigned char hd = 0;
    236     unsigned int d = 0;
     236    uint32_t d = 0;
    237237    int sig;
    238238
     
    321321 */
    322322int
    323 pcib_conf_read8(int sig, int off, unsigned char *data)
     323pcib_conf_read8(int sig, int off, uint8_t *data)
    324324{
    325325  if (!pcibInitialized) {
     
    357357 */
    358358int
    359 pcib_conf_read16(int sig, int off, unsigned short *data)
     359pcib_conf_read16(int sig, int off, uint16_t *data)
    360360{
    361361  if (!pcibInitialized) {
     
    393393 */
    394394int
    395 pcib_conf_read32(int sig, int off, unsigned int *data)
     395pcib_conf_read32(int sig, int off, uint32_t *data)
    396396{
    397397  if (!pcibInitialized) {
     
    429429 */
    430430int
    431 pcib_conf_write8(int sig, int off, unsigned int data)
     431pcib_conf_write8(int sig, int off, uint8_t data)
    432432{
    433433  if (!pcibInitialized) {
     
    459459 */
    460460int
    461 pcib_conf_write16(int sig, int off, unsigned int data)
     461pcib_conf_write16(int sig, int off, uint16_t data)
    462462{
    463463  if (!pcibInitialized) {
     
    491491 */
    492492int
    493 pcib_conf_write32(int sig, int off, unsigned int data)
     493pcib_conf_write32(int sig, int off, uint32_t data)
    494494{
    495495  if (!pcibInitialized){
     
    576576  unsigned char fun,
    577577  unsigned char offset,
    578   unsigned int *val
     578  uint32_t    *val
    579579)
    580580{
     
    624624  unsigned char fun,
    625625  unsigned char offset,
    626   unsigned int val
     626  uint32_t      val
    627627)
    628628{
  • c/src/lib/libbsp/i386/shared/pci/pcibios.h

    rf68663dc r8149a2de  
    3030int pcib_find_by_class(int classCode, int idx, int *sig);
    3131int pcib_special_cycle(int busNo, int data);
    32 int pcib_conf_read8(int sig, int off, unsigned char *data);
    33 int pcib_conf_read16(int sig, int off, unsigned short *data);
    34 int pcib_conf_read32(int sig, int off, unsigned int *data);
    35 int pcib_conf_write8(int sig, int off, unsigned int data);
    36 int pcib_conf_write16(int sig, int off, unsigned int data);
    37 int pcib_conf_write32(int sig, int off, unsigned int data);
     32int pcib_conf_read8(int sig, int off, uint8_t *data);
     33int pcib_conf_read16(int sig, int off, uint16_t *data);
     34int pcib_conf_read32(int sig, int off, uint32_t *data);
     35int pcib_conf_write8(int sig, int off, uint8_t data);
     36int pcib_conf_write16(int sig, int off, uint16_t data);
     37int pcib_conf_write32(int sig, int off, uint32_t data);
    3838
    3939int
Note: See TracChangeset for help on using the changeset viewer.