Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is asm stand for in linux/include/asm

Tags:

linux

read from howto_add_systemcall

"In general, header files for machine architecture independent system calls and functions are kept under linux/include/linux/ and machine architecture dependent ones are kept in linux/include/asm/"

so what does asm stand for here?

I've searched wiki, but not found the answer.

like image 240
Aylwyn Lake Avatar asked Dec 05 '12 07:12

Aylwyn Lake


People also ask

What is asm directory?

Directory. As in other file systems, an ASM directory is a container for files, and it can be part of a tree structure of other directories. The fully qualified filename in fact represents a hierarchy of directories, with the plus sign (+) as the root.

What is asm-generic?

asm-generic is a generic versions of functions usually coded in assembly, but coded in plain C, without any inline assembly. It's probably made for easy porting of the kernel to new platforms, and to keep platfom-independent common code in one place.


1 Answers

I guess it stands for Architecture Specific Macros (asm) initially. After that, any architecture specific stuff are placed there.

like image 63
Douglas Lear Avatar answered Oct 19 '22 10:10

Douglas Lear