bus-dma question

Hans Petter Selasky hselasky at c2i.net
Mon Sep 26 11:15:26 PDT 2005


Hi,

I see something suspicious on Amd64, when allocating small blocks of DMA-able 
memory:

bus_dmamap_load_callback: 0x0000000000caf200
                          ^^^^ this is physical address

QH(0xffffff0000caf200) at 0x00caf200:
   ^^^^ this is kernel address

Shouldn't kernel addresses always be different from physical addresses ?


When allocating larger blocks of memory I get, for example:

bus_dmamap_load_callback: 0x000000003bc50000

which seems correct.

--HPS


More information about the freebsd-hackers mailing list