[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: network support : memory management problem
From: |
Marco Gerards |
Subject: |
Re: network support : memory management problem |
Date: |
Tue, 31 May 2005 19:08:37 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
Vincent Guffens <address@hidden> writes:
> it looks like the problem is gone. I changed the way I allocate the
> memory to hold a block. I changed from:
>
> int load_block ()
> char * p = (char *) grub_malloc(len*sizeof(char));
>
> to
>
> int load_block ()
> char * p;
> [...]
> p = (char *) grub_malloc(len*sizeof(char));
This code is just the same. I think the problem is still there but
just does not show up anymore. I have seen a similar error before,
but I did not have the time to debug it.
> but still, I would be interested in documentation about the memory
> layout and the memory management of grub2, if available.
AFAIK there is none. But you can ask specific questions of course.
--
Marco