Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThanks Wentao, your second idea sounds perfect.
<div class='quotetop'>QUOTE </div> --- Quote Start --- Can you tell me what problem you foresee?[/b] --- Quote End --- The only real problem I saw with modifying the kernel was the fact that I'm no kernel expert, and it _basically_ works now http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif . But your explanation definitely seems simple enough. <div class='quotetop'>QUOTE </div> --- Quote Start --- Currently the DMA zone is empty, you can put all your sdram into that zone and just remember to specify GFP_DMA when your driver wants memory.[/b] --- Quote End --- From cursory inspection of init.c -- where exactly can I tell the kernel that ZONE_DMA begins at 0x0? I see in paging_init where to specify size -- and it works, but gives me chunks of SRAM right now -- I just can't find where the zone structure offsets are defined. Thanks again for all the help, Ryan