|
|
1.1 ! root 1: PP22PP() -- Memory-Manipulation Routine ! 2: ! 3: PP22PP(_g_l__a_d_d_r) ! 4: vvaaddddrr_tt _g_l__a_d_d_r; ! 5: ! 6: Macro PP22PP converts a system global address to a physical address. For ! 7: example, the code sequence ! 8: ! 9: #include <sys/mmu.h> ! 10: phys_addr = P2P(sys_gl_addr); ! 11: ! 12: converts system global address _s_y_s__g_l__a_d_d_r and stores it into variable ! 13: _p_h_y_s__a_d_d_r. ! 14: ! 15: _S_e_e _A_l_s_o ! 16: mmeemmoorryy-mmaanniippuullaattiioonn rroouuttiinneess
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.