|
From: | Vladimir 'phcoder' Serbinenko |
Subject: | Re: [PATCH] Use symbol database to maintain module dependence |
Date: | Mon, 4 May 2009 02:18:27 +0200 |
On Tue, Apr 28, 2009 at 2:13 AM, Vladimir 'phcoder' SerbinenkoHi,
<address@hidden> wrote:
> symdb code seems to duplicate your list code. Perhaps you could reuse the
> file from kernel thus making maintaining easier
I'm planning to use kern/list.c at first, but there is some issue.
list.c uses grub_strcmp, which means we need to add kern/misc.c as
well. But kern/misc.c uses environment and terminal output, etc. I end
up adding a lot of unrelated stuff just to satisfy the dependence. So
perhaps it'd be better to keep it simple for now.
A better solution is to move the string function to a separate source
file, such as kern/string.c. But this is the subject of another patch.
[Prev in Thread] | Current Thread | [Next in Thread] |