Index: hal/i386/arch/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/i386/arch/current/ChangeLog,v retrieving revision 1.37 diff -u -b -B -w -p -u -0 -r1.37 ChangeLog --- hal/i386/arch/current/ChangeLog 31 Jan 2003 16:45:59 -0000 1.37 +++ hal/i386/arch/current/ChangeLog 21 Feb 2003 11:06:32 -0000 @@ -0,0 +1,8 @@ +XXXX-XX-XX Ian Campbell + + * src/vectors.S: Support CYG_HAL_STARTUP_ROMRAM if it is defined + by the platform. + + * src/i386.ld: Map the .2ram segment into RAM to support Flash + drivers. + Index: hal/i386/pcmb/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/i386/pcmb/current/ChangeLog,v retrieving revision 1.16 diff -u -b -B -w -p -u -0 -r1.16 ChangeLog --- hal/i386/pcmb/current/ChangeLog 14 Aug 2002 13:19:10 -0000 1.16 +++ hal/i386/pcmb/current/ChangeLog 21 Feb 2003 11:08:14 -0000 @@ -0,0 +1,8 @@ +XXXX-XX-XX Ian Campbell + + * cdl/hal_i386_pcmb.cdl: Declar RTC constants using + 'default_value' rather than 'calculated', to allow for some + embedded X86 chips which have different clock rates. + + * src/pcmb_serial.c: Enable FIFOs. + Index: hal/i386/arch/current/src/i386.ld =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/i386/arch/current/src/i386.ld,v retrieving revision 1.13 diff -u -b -B -w -p -u -r1.13 i386.ld --- hal/i386/arch/current/src/i386.ld 23 May 2002 23:03:07 -0000 1.13 +++ hal/i386/arch/current/src/i386.ld 21 Feb 2003 10:59:49 -0000 @@ -128,7 +128,8 @@ GROUP(libtarget.a libgcc.a) /* We want the small data sections together, so single-instruction */ \ /* offsets can access them all, and initialized data all before */ \ /* uninitialized, so we can shorten the on-disk segment size. */ \ - _SDATA_START_ = ABSOLUTE(.); *(.sdata*) } \ + _SDATA_START_ = ABSOLUTE(.); *(.sdata*) \ + . = ALIGN (4); *(.2ram.*) } \ > _region_ \ __rom_data_start = LOADADDR(.data); \ __ram_data_end = .; PROVIDE(__ram_data_end = .); \ Index: hal/i386/arch/current/src/vectors.S =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/i386/arch/current/src/vectors.S,v retrieving revision 1.16 diff -u -b -B -w -p -u -r1.16 vectors.S --- hal/i386/arch/current/src/vectors.S 1 Dec 2002 15:50:14 -0000 1.16 +++ hal/i386/arch/current/src/vectors.S 21 Feb 2003 10:59:49 -0000 @@ -93,6 +93,7 @@ _start: #if defined(CYG_HAL_STARTUP_FLOPPY) \ || defined(CYG_HAL_STARTUP_ROM) \ + || defined(CYG_HAL_STARTUP_ROMRAM) \ || defined(CYG_HAL_STARTUP_GRUB) # If we are here first, initialize the IDT. RAM startup # configurations can assume that Redboot has already set @@ -119,7 +120,7 @@ _start: xorl %eax,%eax # EAX = 0 = fill value rep stosl # Fill it in -#ifdef CYG_HAL_STARTUP_ROM +#if defined(CYG_HAL_STARTUP_ROM) || defined(CYG_HAL_STARTUP_ROMRAM) # In a ROM booted system, we also need to copy the data section # out to the RAM. Index: hal/i386/pcmb/current/cdl/hal_i386_pcmb.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/i386/pcmb/current/cdl/hal_i386_pcmb.cdl,v retrieving revision 1.7 diff -u -b -B -w -p -u -r1.7 hal_i386_pcmb.cdl --- hal/i386/pcmb/current/cdl/hal_i386_pcmb.cdl 14 Aug 2002 13:19:11 -0000 1.7 +++ hal/i386/pcmb/current/cdl/hal_i386_pcmb.cdl 21 Feb 2003 10:59:49 -0000 @@ -83,17 +83,17 @@ cdl_package CYGPKG_HAL_I386_PCMB { cdl_option CYGNUM_HAL_RTC_NUMERATOR { display "Real-time clock numerator" flavor data - calculated 1000000000 + default_value 1000000000 } cdl_option CYGNUM_HAL_RTC_DENOMINATOR { display "Real-time clock denominator" flavor data - calculated 100 + default_value 100 } cdl_option CYGNUM_HAL_RTC_PERIOD { display "Real-time clock period" flavor data - calculated 11932 + default_value 11932 } } Index: hal/i386/pcmb/current/src/pcmb_serial.c =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/i386/pcmb/current/src/pcmb_serial.c,v retrieving revision 1.5 diff -u -b -B -w -p -u -r1.5 pcmb_serial.c --- hal/i386/pcmb/current/src/pcmb_serial.c 23 May 2002 23:03:16 -0000 1.5 +++ hal/i386/pcmb/current/src/pcmb_serial.c 21 Feb 2003 10:59:49 -0000 @@ -170,7 +170,7 @@ cyg_hal_plf_serial_init_channel(void* __ HAL_READ_UINT8(base+CYG_DEV_LSR, lsr); ((channel_data_t*)__ch_data)->valid = (lsr != 0xFF); -// HAL_WRITE_UINT8(base+CYG_DEV_FCR, 0x07); // Enable & clear FIFO + HAL_WRITE_UINT8(base+CYG_DEV_FCR, 0x07); // Enable & clear FIFO } //-----------------------------------------------------------------------------