From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Thu, 18 Dec 2014 01:21:11 -0500 Subject: printk from x86-64 assembly code In-Reply-To: Your message of "Thu, 18 Dec 2014 00:34:35 -0500." <20141218053434.GA23987@vega.jjdev.com> References: <20141218053434.GA23987@vega.jjdev.com> Message-ID: <10238.1418883671@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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