PThreads in kernel module & network interface

2001-04-04 Thread Remko van der Vossen
Hi Guys, I'm new to this list, so let me introduce myself first, I'm Remko van der Vossen from Holland, I work for CMG in an internship at the moment. CMG Eindhoven wants me to set up a project. This project involves making a TCP/IP implementation for embedded systems. As it is way t

Calling kernel level function from user level program

2001-04-05 Thread Remko van der Vossen
Hi Guys, I'd like to know how I call a kernel level function which i made myself (in a module) from a user level program, i tried a header file with extern but that didn't work. Bye, Remko van der Vossen CMG Eindhoven [EMAIL PROTECTED] - To unsubscribe from this list: sen

Re: RTC !!

2001-04-12 Thread Remko van der Vossen
0 + 1) * 100 / tfreq; //calculate the elapsed ticks since last ttime etick = (ctime - prevttime + httf) / (httf * 2); /*todo: start the actual timer*/ } Bye, Remko van der Vossen CMG Eindhoven [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linu

RE: RTC !!

2001-04-12 Thread Remko van der Vossen
prevttime = ctime * tfreq / 100 * 100 / tfreq; ttime = (ctime * tfreq / 100 + 1) * 100 / tfreq; //calculate the elapsed ticks since last ttime etick = (ctime - prevttime + httf) / (httf * 2); //calculate the minimum ticks between timer events mtick = 100 / (tfreq * httf