RE: siginficance of termios struct....

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

 



Termios is usually implemented as both an driver IOCTL and a library call.
There are several online tty subsystem manpage sets. 
Try http://www.unidata.ucar.edu/cgi-bin/man-cgi?termio+7
or google "termios"

-----Original Message-----
From: kernelnewbies-bounce@nl.linux.org
[mailto:kernelnewbies-bounce@nl.linux.org]On Behalf Of Mandeep Singh
Sandhu
Sent: Monday, December 15, 2003 4:42 AM
To: kernelnewbies@nl.linux.org
Subject: siginficance of termios struct....


Hi all,

i'm trying to write a very simple serial driver
(just for learning purpose!!). I wanted to know
what is the siginificacne of the termios struct
and where does it fit in the scheme of things.

Thanx,
mandeep


-----Original Message-----
From: Arjan van de Ven [mailto:arjanv@redhat.com]
Sent: Thursday, December 11, 2003 1:29 PM
To: Sivasankaran, Vijay
Cc: kernelnewbies@nl.linux.org
Subject: Re: Move huge chunks of data in kernel...


On Thu, 2003-12-11 at 00:18, Sivasankaran, Vijay wrote:
> Hello,
> 
>        Anyone know how to move move huge chunks of data in x86 kenel?
>        I know I can use %esi and %edi as source and destination and
>        use ecx to specify the number of bytes. I am wondering if there
>        is any better way of doing it using SSE2 (128 bit) registers?
>        Imagine we don't have to worry abt context-switching or saving
> registers

why don't you use memcpy() which will be optimized for your platform ?
(and yes it can use mmx/sse2 etc if it is faster (which it btw not
really is unless you use weakly ordered stores, which have the
side-effect of clearing the cache so are not generally a win)

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

--
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