Re: PCI memory alloc..!
From: M. Warner Losh (imp_at_bsdimp.com)
Date: 06/29/04
- Previous message: sid_at_merlin.com.ua: "ipfw add allow ip from @access_list1 to any in"
- In reply to: Auge Mike: "PCI memory alloc..!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 10:08:48 -0600 (MDT) To: tobe_better@hotmail.com
In message: <BAY22-F21n8P5o7P6um0003a4ff@hotmail.com>
"Auge Mike" <tobe_better@hotmail.com> writes:
: While I was trying to track to find out how a device alloc a new memory
: resource, I have been little confused on finding out how the new PCI device
: can deal with a case when the activation calls pmap_mapdev????
:
: What I need to understand that what will happen if pmap_mapdev allocated a
: new space that dose not match what is expected by the device and determined
: by r_start and r_end ??
The pci bus deals with allocating and mapping the memory. Getting the
bus handle and bus tags will let you access it via the bus_space
routines or the bus_dma routines. pmap_mamdev is done under the
covers and you'll not need to worry about such things.
Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: sid_at_merlin.com.ua: "ipfw add allow ip from @access_list1 to any in"
- In reply to: Auge Mike: "PCI memory alloc..!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Tracking dynamic memory usage in my program
... In my program, which iterates over a loop many thousands of times, allocating and deallocating
memory, I want to track dynamic memory allocation. ... I am doing this because Task Manager
shows increasing memory each time through the loop and this does not appear to correspond to what
I am doing in the loop. ... What I have seen that puzzles me is that the totals shown by Task
Manager do not at all correspond to what my routines show for the memory totals I am picking up
from HeapWalk. ... Task manager is showing a steady increase through each loop while my memory
tracking routine is showing a much smaller difference in each loop, the latter corresponding much more
closely to what I believe I am actually allocating and deallocating for each loop (I am holding
on to some of the data during each loop for further processing when the loop is finished, then releasing
the data. ... (microsoft.public.win32.programmer.kernel) - 6.1-BETA4: NIC doesnt work with ACPI enabled
... cbb0: Found memory at 80000000 ... Secondary bus set to 2 subbus 3 ...
cardbus1: Non-prefetchable memory at 88000000-880000ff ... Index IRQ Rtd Ref IRQs
... (freebsd-stable) - [2.4] lockup on boot with 2.4.26
... Uncompressing kernel... ... Bus 0, device 0, function 0: ... Non-prefetchable
32 bit memory at 0xe3000000. ... # Loadable module support ... (Linux-Kernel) - Re: A7N8X-E deluxe : new ram problem
... rock stable for 2 years in Dual channel 200mhz mode and since I've ... The Nforce2
chipset has three memory slots, ... Two slots fit on one data bus. ... is
the use of 128Mx4 chips. ... (alt.comp.periphs.mainboard.asus) - Recent -current hangs on Tyan S2460 before finishing boot
... Disabling ACPI in the BIOS has no apparent effect on the hang. ... Physical
memory chunk: ... irq 2 ... bus 0 dev 7 func 3 ... (freebsd-current)