[coreboot] I am reading the source code of coreboot, how do I understand the functions

2011-09-12 Thread Jianmin Pan
I am a newbie to coreboot, I am wondering is there an easy approach to understand the functions. For instance, when I am reading fallback_boot.c, it's very difficult for me to understand such functions as inb(), outb(),RTC_PORT(). The method I am using now is to grep the function name and find out

Re: [coreboot] I am reading the source code of coreboot, how do I understand the functions

2011-09-12 Thread Patrick Georgi
Am Mo 12 Sep 2011 17:48:07 CEST schrieb Jianmin Pan: I am used to use vim. So, anybody have good suggestions? Install ctags, run ctags -R src in the toplevel directory, which creates the tags file. Then in vi, use :ta identifier to look up the declaration of identifier, ctrl-] to look up the

Re: [coreboot] I am reading the source code of coreboot, how do I understand the functions

2011-09-12 Thread Tom Sylla
If you want to browse around a bit, there is an LXR cross reference of coreboot available here: http://lxr.linux.no/coreboot Tom On Mon, Sep 12, 2011 at 8:48 AM, Jianmin Pan dsp...@gmail.com wrote: I am a newbie to coreboot, I am wondering is there an easy approach to understand the functions.

Re: [coreboot] I am reading the source code of coreboot, how do I understand the functions

2011-09-12 Thread She, Kerry
-Original Message- From: coreboot-boun...@coreboot.org [mailto:coreboot-boun...@coreboot.org] On Behalf Of Patrick Georgi Sent: Tuesday, September 13, 2011 3:18 AM To: coreboot@coreboot.org Subject: Re: [coreboot] I am reading the source code of coreboot, how do I understand