Re: udelay() and BogoMips doubts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 10 August 2004 13:06, Gaurav Dhiman wrote:
> - I am reading the 6th chapter of Rubini's book (LDD), want to know
> about the internals of udelay() function. How this function exactly
> works, I saw its code at following link:
> http://lxr.linux.no/source/include/asm-i386/delay.h?v=2.4.21#L18 but
> cud not understand it as I am not able to find the definations of
> __bad_ndelay and all other realted functions. The deceleration has
> been given just before the defination of udelay() function, dont know
> where the definition is.

To answer one of your questions.  __bad_ndelay() and __bad_udelay() 
routines don't exist.  The references are there only to trigger a link 
error if you have a ndelay() or udelay() with a constant argument that 
is excessive (i.e. >20000).


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux