Hi,
I am trying to get a page from RAM write some values in it in kernel
space and then read them in user space using mmap.
Below is the code i use, to fill the memory with a pattern in kernel space.
ptr =get_zeroed_page (__GFP_DMA);
printk(Peerless:The Virtual addr ptr: %08lx
Hi,
In ppc4xx_pci i see the pci size to be declared as
u32 lah, lal, pciah, pcial, sa;
Also at many other places I see the pci region is not capable of
handling resources 4GB. I am planning to work on this arch specific
code to make it handle pci resource of width greater than 4 GB.
But
Hi All,
I am trying to reassign bus numbers and configure BAR's from kernel by
setting PPC_PCI_REASSIGN_ALL_BUS flag.
pcibios_assign_resources - fills up the device structure by reading
the BARs . I am trying to locate the part of the code which actually
fills up the BAR.
--
With Regards,
Deepak
Hi ,
Sorry forgot to append the question.
On Fri, Oct 31, 2008 at 8:58 AM, Peerless Deepak
[EMAIL PROTECTED] wrote:
Hi All,
I am trying to reassign bus numbers and configure BAR's from kernel by
setting PPC_PCI_REASSIGN_ALL_BUS flag.
pcibios_assign_resources - fills up the device structure
Hi,
I am trying to find understand how the pci devices are enumerated on
kernel startup. I am concentrating on powerpc arch.
I could see function called pcibios_init . Is it the starting point
for doing all device scan or whether the device tree is already formed
before this function.
Thanks
Hello All,
I am running a snmp application and it gets crashed even before it
gets loaded in to the memory.
I am pasting below the last few lines of strace output if had thrown.
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40
01d000
mmap2(NULL, 4096,
On Sat, May 24, 2008 at 6:09 AM, Peter Teoh
On Fri, May 23, 2008 at 10:09 PM, Peter Teoh [EMAIL PROTECTED] wrote:
I like this joke! it is funny
ahem ! i was kind of serious: http://en.wikipedia.org/wiki/Heisenbug
anupam
Ha ha ...Thanks for that link..Its real fun to know that.
Its
Hi all,
I am wondered whether running a application with strace will make it
behave differently.
My application on a ARM target board crashed consistently. The odd
thing was the log file also disappears during the mishap.
So I started the application with strace and captured the output using
a
Hi all,
I wanted to know whether a program compiled in linux will run in windows.
I wrote a simple code which just returns a number from main and didnt make
use of any library calls but even that program didnt run in windows.
Whats the difference between a c program compiled in linux and