![]() |
|
|||
File indexing completed on 2025-05-11 08:23:57
0001 /* 0002 * Default activation of the page tables. This is a weak 0003 * alias, so applications may easily override this 0004 * default activation procedure. 0005 */ 0006 0007 /* Author: Till Straumann, <strauman@slac.stanford.edu>, 4/2002 0008 * Kate Feng <feng1@bnl.gov> ported it to MVME5500, 4/2004 0009 */ 0010 0011 #include <rtems.h> 0012 #include <libcpu/pte121.h> 0013 #include <libcpu/bat.h> 0014 0015 static void 0016 __BSP_default_pgtbl_activate(Triv121PgTbl pt) 0017 { 0018 if (!pt) 0019 return; 0020 0021 /* switch the text/ro sements to RO only after 0022 * initializing the interrupts because the irq_mng 0023 * installs some code... 0024 * 0025 * activate the page table; it is still masked by the 0026 * DBAT0, however 0027 */ 0028 triv121PgTblActivate(pt); 0029 0030 /* finally, switch off DBAT0 & DBAT1 */ 0031 setdbat(0,0,0,0,0); 0032 setdbat(1,0,0,0,0); /* <skf> */ 0033 /* At this point, DBAT0 is available for other use... */ 0034 } 0035 0036 void BSP_pgtbl_activate(Triv121PgTbl) 0037 __attribute__ (( weak, alias("__BSP_default_pgtbl_activate") ));
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |