This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gettimeofday??


On Thu, Aug 30, 2001 at 05:43:16PM +0200, Stijn Symons wrote:
> Thanks a lot, it's linked, but not yet working :-((
> 
> Could you tell us where the defintion of the function
> cyg_hal_sys_gettimeofday is, we can't find it and are a bit confused.

Using my trusted sledge hammer:

ecoscvs/packages/hal$ find . -type f | xargs grep cyg_hal_sys_gettimeofday
./synth/arch/current/src/synth_intr.c:    cyg_hal_sys_gettimeofday(&synth_clock, (struct cyg_hal_sys_timezone*) 0);
./synth/arch/current/src/synth_intr.c:    cyg_hal_sys_gettimeofday(&synth_clock, (struct cyg_hal_sys_timezone*) 0);
./synth/arch/current/src/synth_intr.c:    cyg_hal_sys_gettimeofday(&now, (struct cyg_hal_sys_timezone*) 0);
./synth/arch/current/include/hal_io.h:externC int             cyg_hal_sys_gettimeofday(struct cyg_hal_sys_timeval*,

and the actualy code is build with a bit of magic in 
ecoscvs/packages/hal/synth/i386linux/current/src/syscall-i386-linux-1.0.S

        Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]