Skip to content

korisk/fpw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fpw(From Pograph's Weblog)

Empty C++ module without exceptions for linux kernel from Pograph's Weblog

Original source: http://pograph.wordpress.com/2009/04/05/porting-cpp-code-to-linux-kernel/

It works at least on Linux 3.7.3-101.fc17.x86_64

In c++ code you shouldn't ust stdlibc++, rtti or exceptions

Howto:

make; sudo insmod mydrv.ko; sudo rmmod mydrv.ko;

$dmesg|tail

..] <6>C++ driver started

..] cpp module installed

..] <6>Goodbye C++ driver

..] cpp module removed

About

Linux kernel module with C++ without exceptions from Pograph's Weblog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages