Date: Wed, 19 Jun 1996 14:06:45 +0000 From: Michael Saal <msaal@qosnet.com> To: questions@freebsd.org Subject: ?: allocating physical memory for a driver Message-ID: <31C80975.41C67EA6@qosnet.com>
next in thread | raw e-mail | index | archive | help
I am writing a driver for a bus mastering ISA card. How do I allocate physical memory and make sure that is located below the 16M boundry addressable by the ISA bus? Is malloc("memory size", M_DEVBUF, M_NOWAIT) sufficient? If it is I don't see how you can make sure the memory is in the right range with out testing the resulting pointer. Thanks, Mike Saal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31C80975.41C67EA6>