Subject: Re: Adding a start-of-data marker to loadelf
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-kern
Date: 06/04/2007 18:03:16
In article <20070604164649.GA842@drowsy.duskware.de>,
Martin Husemann  <martin@duskware.de> wrote:
>-=-=-=-=-=-
>
>Hi folks,
>
>I found myself in the need to figure out the final VA of the start of the
>data segment after loading a kernel with loadfile. There seemed to be no
>easy way ready to use, so I added a new marker, MARK_DATA, and filled it
>with the first data address loaded.
>
>It works for me, but I'm not sure if I didn't miss some other easy way
>to get this info.

I would put MARK_DATA after MARK_ENTRY. The rest looks fine to me.

christos