Re: Reserving a (large) memory block

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Wed Aug 30 2000 - 19:01:17 EDT

  • Next message: Arnaldo Carvalho de Melo: "[PATCH] console.c: s/suser/capable/"

    Em Wed, Aug 30, 2000 at 03:42:15PM -0700, J C Lawrence escreveu:
    > Alan,
    >
    > I'm working on a device driver for a device that sits on the PC
    > memory bus. I need to reserve/protect the memory range that the
    > device occupies from the rest of the kernel/system. How do I do
    > that? I think I see how I can mark blocks that are never to be
    > touched, but in this case the driver (obviously) needs to be able to
    > touch them, but the rest of the kernel must be hands-off.
    >
    > <<Reply-To set as this address has a flekey mail server I haven't
    > managed to evict yet>>

    Look at drivers/media/video/zr36120_mem.c, it might help you.

    - Arnaldo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Wed Aug 30 2000 - 21:49:08 EDT