Changeset c47f29d in rtems


Ignore:
Timestamp:
Dec 6, 2004, 6:21:25 PM (17 years ago)
Author:
Greg Menke <gregory.menke@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
8fa65f5
Parents:
c75f2d1
Message:

PR 729/bsps

  • bootloader/pci.c: Removed the r->size=0 and r->base=0 assignement which makes too-large regions conflict with onboard hardware, replacing it with sfree which deletes the memory region from the setup code, leaving it disabled.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/bootloader/pci.c

    rc75f2d1 rc47f29d  
    252252   }
    253253
     254
     255   /* 2004/11/30, PR 729 fix is removing the r->size=0 and r->base=0
     256    * assignement which makes too-large regions conflict with onboard
     257    * hardware, replacing it with sfree which deletes the memory region
     258    * from the setup code, leaving it disabled. */
    254259   if ((r->type==PCI_BASE_ADDRESS_SPACE_IO)
    255        ? (r->size >= 0x10000)
    256        : (r->size >= 0x10000000)) {
    257       r->size  = 0;
    258       r->base  = 0;
     260       ? (r->size > 0x10000)
     261       : (r->size > 0x18000000)) {
     262      sfree(r);
     263      return;
    259264   }
    260265
Note: See TracChangeset for help on using the changeset viewer.