source: rtems/c/src/lib/libcpu/powerpc/mpc6xx/mmu/bat.h @ 265e5fc

Last change on this file since 265e5fc was 8209461b, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:45:53

2003-09-04 Joel Sherrill <joel@…>

  • mpc6xx/clock/c_clock.c, mpc6xx/clock/c_clock.h, mpc6xx/exceptions/raw_exception.c, mpc6xx/exceptions/raw_exception.h, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/mmuAsm.S, mpc6xx/timer/timer.c, mpc8260/clock/clock.c, mpc8260/console-generic/console-generic.c, mpc8260/cpm/brg.c, mpc8260/exceptions/raw_exception.c, mpc8260/exceptions/raw_exception.h, mpc8260/include/cpm.h, mpc8260/include/mmu.h, mpc8260/mmu/mmu.c, mpc8260/timer/timer.c, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h, mpc8xx/include/cpm.h, mpc8xx/include/mmu.h, mpc8xx/mmu/mmu.c, mpc8xx/timer/timer.c, ppc403/clock/clock.c, ppc403/console/console.c.polled, ppc403/timer/timer.c, rtems/powerpc/debugmod.h, shared/include/byteorder.h, shared/include/cpuIdent.c, shared/include/cpuIdent.h, shared/include/io.h, shared/include/mmu.h, shared/include/page.h, shared/include/pgtable.h, shared/include/spr.h: URL for license changed.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 * bat.h
3 *
4 *          This file contains declaration of C function to
5 *          Instanciate 60x/7xx ppc Block Address Translation (BAT) registers.
6 *          More detailled information can be found on motorola
7 *          site and more precisely in the following book :
8 *
9 *              MPC750
10 *              Risc Microporcessor User's Manual
11 *              Mtorola REF : MPC750UM/AD 8/97
12 *
13 * Copyright (C) 1999  Eric Valette (valette@crf.canon.fr)
14 *                     Canon Centre Recherche France.
15 *
16 *  The license and distribution terms for this file may be
17 *  found in found in the file LICENSE in this distribution or at
18 *  http://www.rtems.com/license/LICENSE.
19 *
20 * $Id$
21 */
22
23#ifndef LIBCPU_MCP750_MMU_BAT_H
24#define LIBCPU_MCP750_MMU_BAT_H
25
26#include <libcpu/mmu.h>
27#include <libcpu/pgtable.h>
28#include <rtems/bspIo.h>
29
30#define IO_PAGE (_PAGE_NO_CACHE | _PAGE_GUARDED | _PAGE_RW)
31
32extern void setdbat(int bat_index, unsigned long virt, unsigned long phys,
33                    unsigned int size, int flags);
34
35extern void asm_setdbat1(unsigned int uperPart, unsigned int lowerPart);
36extern void asm_setdbat2(unsigned int uperPart, unsigned int lowerPart);
37extern void asm_setdbat3(unsigned int uperPart, unsigned int lowerPart);
38extern void asm_setdbat4(unsigned int uperPart, unsigned int lowerPart);
39
40#endif /* LIBCPU_MCP750_MMU_BAT_H */
Note: See TracBrowser for help on using the repository browser.