🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42229

Re: What is "asmlinkage"

#42229
From: Andrew Mileski
Date: Tue, 02 Jan 1996 00:00
14 lines
1030 bytes
Gregory Propf (greg@gregp.clark.net) wrote:
> in the kernel sources.  The thing is - I have no idea what
> 'asmlinkage' means and I suspect this strange type has to do with I
> can't the function that calls this one.  Any help on asmlinkage or
> this particular function call appreciated.  - GP

'asmlinkage' is a conditional macro which can expand to: extern "C" 
It is used when an assembly routine needs to call a C routine.

-- Andrew E. Mileski --

-------------------------------------------------------
Dark Matter Technologies Inc. - Ottawa Ontario, Canada!
mailto:dmtech@magi.com     http://www.magi.com/~dmtech/
Technical Details
Message-ID: <4cboq9$dk1@news.magi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4bv6ui$c29@clarknet.clark.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9b3dbbf5df1f0d83
X-Google-Attributes: gid11318c,public
From: dmtech@magi.com (Andrew Mileski)
Subject: Re: What is "asmlinkage"
Date: 1996/01/02
Message-ID: <4cboq9$dk1@news.magi.com>
X-Deja-AN: 133735999
references: <4bv6ui$c29@clarknet.clark.net>
organization: Dark Matter Technologies Inc.
newsgroups: gnu.gcc.help