* shared/bootloader/exception.S, shared/bootloader/misc.c,
	shared/bootloader/mm.c, shared/console/polled_io.c,
	shared/startup/probeMemEnd.c: Update due to API changes.
This commit is contained in:
Sebastian Huber
2011-08-24 09:48:56 +00:00
parent 1d367a49df
commit 7e85bfbef4
6 changed files with 18 additions and 16 deletions

View File

@@ -26,8 +26,7 @@
#include <rtems/bspIo.h>
#include <bsp.h>
SPR_RW(DEC)
SPR_RO(PVR)
SPR_RO(PPC_PVR)
struct inode;
struct wait_queue;
@@ -264,7 +263,7 @@ setup_hw(void)
default_vga_cmd = 0;
#define vpd res->VitalProductData
if (_read_PVR()>>16 != 1) {
if (_read_PPC_PVR()>>16 != 1) {
if ( res && vpd.ProcessorBusHz ) {
ticks_per_ms = vpd.ProcessorBusHz/
(vpd.TimeBaseDivisor ? vpd.TimeBaseDivisor : 4000);