Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2000 17:08:55 +0530
From:      Pran Joseph <pran@procsys.com>
To:        freebsd-hackers@freebsd.org
Subject:   Memory Mapping
Message-ID:  <39A2664F.3337A741@procsys.com>

next in thread | raw e-mail | index | archive | help
Hi,

  I am trying to write a PCI ethernet driver for FreeBSD 3.4 release . I
am new to the driver stuff.

   I want to allocate some memory for device buffer  using malloc
function. I also want the physical address of allocated  memory block
so that I can initialize the device registers.

   Can any one of you please explain me how I can convert address
returned by
malloc to Physical address.

Thanks
-Pran














To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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