forked from Imagelibrary/rtems
2002-07-22 Till Straumann <strauman@slac.stanford.edu>
* mpc6xx/mmu/bat.c: Per PR241, fix a tiny bug introduced by the fix for an earlier patch (PR213) which added support for setting BAT0 to setdbat().
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2002-07-22 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* mpc6xx/mmu/bat.c: Per PR241, fix a tiny bug introduced by the
|
||||
fix for an earlier patch (PR213) which added support for setting
|
||||
BAT0 to setdbat().
|
||||
|
||||
2001-05-17 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* mpc6xx/exceptions/raw_exception.c, pc6xx/mmu/pte121.c: Modified
|
||||
|
||||
@@ -55,7 +55,7 @@ void setdbat(int bat_index, unsigned long virt, unsigned long phys,
|
||||
bat_addrs[bat_index].limit = virt + ((bl + 1) << 17) - 1;
|
||||
bat_addrs[bat_index].phys = phys;
|
||||
switch (bat_index) {
|
||||
case 0 : asm_setdbat1(bat.word[0], bat.word[1]); break;
|
||||
case 0 : asm_setdbat0(bat.word[0], bat.word[1]); break;
|
||||
case 1 : asm_setdbat1(bat.word[0], bat.word[1]); break;
|
||||
case 2 : asm_setdbat2(bat.word[0], bat.word[1]); break;
|
||||
case 3 : asm_setdbat3(bat.word[0], bat.word[1]); break;
|
||||
|
||||
Reference in New Issue
Block a user