login
Header Space

 
 

This is a simple PRintk module which works on other normal board

October 16, 2008 - 3:30am
Anonymous (not verified)

#include
#include
#include

#include

//int volatile * ptr = 0xdeaddead0;

int j;
static int cachetest()
{
printk(KERN_ALERT "aaaaaaaaaaa\n");
printk("<0>" "aaaaaaaaaaa\n");
// *ptr = 0;
// j = *ptr;
return 0;
}
static void __exit cache_exit()
{
printk(KERN_ALERT "bbbbbbbbbb\n");
}
module_init(cachetest)
module_exit(cache_exit)

MODULE_LICENSE("GPL");
MODULE_AUTHOR("abaabaab");
MODULE_DESCRIPTION("Caching");

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary