1239478Sadrian/*- 2239478Sadrian * Copyright (C) 2012 Margarida Gouveia 3239478Sadrian * All rights reserved. 4239478Sadrian * 5239478Sadrian * Redistribution and use in source and binary forms, with or without 6239478Sadrian * modification, are permitted provided that the following conditions 7239478Sadrian * are met: 8239478Sadrian * 1. Redistributions of source code must retain the above copyright 9239478Sadrian * notice, this list of conditions and the following disclaimer, 10239478Sadrian * without modification, immediately at the beginning of the file. 11239478Sadrian * 2. Redistributions in binary form must reproduce the above copyright 12239478Sadrian * notice, this list of conditions and the following disclaimer in the 13239478Sadrian * documentation and/or other materials provided with the distribution. 14239478Sadrian * 15239478Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16239478Sadrian * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17239478Sadrian * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18239478Sadrian * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19239478Sadrian * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20239478Sadrian * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21239478Sadrian * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22239478Sadrian * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23239478Sadrian * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24239478Sadrian * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25239478Sadrian * 26239478Sadrian * $FreeBSD$ 27239478Sadrian */ 28239478Sadrian 29239478Sadrian#ifndef _POWERPC_WII_WII_FBREG_H 30239478Sadrian#define _POWERPC_WII_WII_FBREG_H 31239478Sadrian 32239478Sadrian/* 33239478Sadrian * Memory addresses for the I/O and the framebuffer. 34239478Sadrian */ 35239478Sadrian#define WIIFB_REG_ADDR 0x0c002000 36239478Sadrian#define WIIFB_REG_LEN 0x100 37239478Sadrian#define WIIFB_FB_ADDR 0x01698000 /* at the end of 1T SRAM */ 38239478Sadrian#define WIIFB_FB_LEN 0x168000 39239478Sadrian 40239478Sadrian#endif /* _POWERPC_WII_WII_FBREG_H */ 41