Re: Accessing Processor Registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jhoney jhoney wrote:
Hello All,

Thanks for your information for my previous mails. I have one doubt like in U-boot I have one structure like
volatile immap_t *immap = (immap_t *)CFG_IMMR;
which contains all the register addresses,for example If i want to access DMA registers I could do in the following way.
volatile ccsr_dma_t *dma = &immap->im_dma;
Same way you can access these registers in linux. search for the header as I said previously.
hth.
om.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux