Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2007 16:31:46 -0800
From:      "Kip Macy" <kip.macy@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: latest upgrade seems to have broken vmware3
Message-ID:  <b1fa29170701011631k19a5fb27x45c27c7310e1c2af@mail.gmail.com>
In-Reply-To: <20070101235732.GA3239@mail.scottro.net>
References:  <20070101220550.GA1411@mail.scottro.net> <b1fa29170701011537g25d9bf6vebb0e327ecdd5a7a@mail.gmail.com> <20070101235732.GA3239@mail.scottro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> That's well beyond my abilities and knowledge.  I'll try googling
> for information on how to do it, or ask a few programming friends.
>
> Thank you for the hint though.



Pass this on to your programming friends:

static vm_paddr_t
get_avail_end(void)
{
        vm_paddr_t avail_end;
        int i;

        avail_end = phys_avail[1];

        for (i = 0; phys_avail[i + 1]; i += 2) {
                if (phys_avail[i + 1] > avail_end)
                        avail_end = phys_avail[i + 1];
        }

        return avail_end;
}


 -Kip



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1fa29170701011631k19a5fb27x45c27c7310e1c2af>