printk from x86-64 assembly code

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Dec 18 01:21:11 EST 2014


On Thu, 18 Dec 2014 00:34:35 -0500, John de la Garza said:

> I wasn't sure how to make the call to jj_print so I just used the
> ALTERNATIVE_JUMP without trying to understand it,

That can't end well.

I respectfully suggest that if you can't figure out how to make a
call to a function in assembler, maybe you shouldn't play with it
in the kernel till you learn a bit more.

Might want to try writing some asm code for userspace till you get the
basics down....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141218/17416b2f/attachment.bin 


More information about the Kernelnewbies mailing list