lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: c++ module support?
On 24 Mar 1998, Neal Becker wrote:
> Can kernel modules be written in c++? Are there any known
> restrictions? (Other than the init_module must be declared extern C).

The kernel (and insmod) don't care what language the module is written in
(as far as it knows, you could have typed the bytecode into a hex-editor)
-- so long as it is validly executable bytecode, and all data passed back
and forth is in the format that the kernel expects it (note that all
functions that you give out pointers to are going to need to be extern c.)

-=- James Mastros


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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