Re: 64 bit clean

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

 



On Fri, Oct 05, 2001 at 12:57:31PM +0530, C.Mohanasundaram wrote:
> I read some where that the kernel modules
> and drivers should be 64 bit clean.
> what does it mean.

That the module should run on a 64 bit platform without any kind of
modifications. 64 bit Linux platforms include: Alpha, Sparc64, Mips64,
PowerPC64, and x86-64.

We have learned from the past, where drivers assumed that all the world
was a PC. Because of this quite some drivers assumed (and some still
assume) that the IO port range is from 0x0000 to 0x1000 (the serial
port on my StrongARM lives at 0x90004000), and interrupt 0 means
uninitialised (perfectly valid interrupt on my StrongARM).


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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