lkml.org 
[lkml]   [2001]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: assembler -> linux system calls
Date
From
> Could somebody tell me what function to use where the question marks
> are written? Are the other mappings from inpl and outpl also correct?

The look like the inb/inw/outb/outw functions. Im not sure how DOS asm
maps byte and word sized in and out

swmem is a byte swap. There isnt a trivial equivalent because its almost
never the case you want to byteswap but you want to convert endiannesses
htons() will probably do the right thing while you figure it out
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:58    [W:0.058 / U:1.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site