From: "Haifeng Fang" Subject: how to use printk() in xen? Date: Sat, 26 Apr 2008 20:59:55 +0800 Message-ID: <200804262059551875028@126.com> Reply-To: fhf25@126.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1767950180==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1767950180== Content-Type: multipart/alternative; boundary="=====003_Dragon188751662173_=====" This is a multi-part message in MIME format. --=====003_Dragon188751662173_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit hi, all: i want to add a function in xen. in the function i need to call the "printk" to display the values of some variables. i found the definition of printk() in file "xen-3.1.0-src\xen\include\xen\lib.h ": extern void printk(const char *format, ...) __attribute__ ((format (printf, 1, 2))); who can tell me the location of printk()? thanks in advance. 2008-04-26 Haifeng Fang --=====003_Dragon188751662173_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
hi, all:
 
i want to add a function in xen. in the function i need to call the "printk" to display the values of some variables.
 
i found the definition of printk() in file "xen-3.1.0-src\xen\include\xen\lib.h ":
 
extern void printk(const char *format, ...)
    __attribute__ ((format (printf, 1, 2)));
 
who can tell me the location of printk()?
 
thanks in advance.
 
2008-04-26

Haifeng Fang
--=====003_Dragon188751662173_=====-- --===============1767950180== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1767950180==--