Hello All,
Presently I am working with DMA and to DMA operation the start bit must be set in DMA status Register. Now I am working with kernel modules and How to access the Register derectly from a module.
I would like to know the structure of the memory map of the linux, so that if I write some value in the member of structure ,it shoud get effected immediately .
For Example
tsec_t *regs = (tsec_t *)(TSEC_BASE_ADDR);
regs->dmactrl &= ~(DMACTRL_GRS | DMACTRL_GTS);
regs->dmactrl |= (DMACTRL_GRS | DMACTRL_GTS);
The above source was taken from U-boot.
I am using U-boot as bootloader and ppc linux.
Regards
Jhoney