00001 /* This file has been prepared for Doxygen automatic documentation generation.*/ 00009 /* ***************************************************************************** 00010 Copyright (c) 2006, Atmel Corporation All rights reserved. 00011 00012 Redistribution and use in source and binary forms, with or without 00013 modification, are permitted provided that the following conditions are met: 00014 00015 1. Redistributions of source code must retain the above copyright notice, 00016 this list of conditions and the 00017 following disclaimer. 00018 00019 2. Redistributions in binary form must reproduce the above copyright notice, 00020 this list of conditions and the following disclaimer in the documentation 00021 and/or other materials provided with the distribution. 00022 00023 3. The name of ATMEL may not be used to endorse or promote products 00024 derived from this software without specific prior written permission. 00025 00026 THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS 00027 OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00028 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 00029 PARTICULAR PURPOSE ARE EXPRESSLY AND SPECIFICALLY 00030 DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, 00031 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00032 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 00033 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00034 OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 00035 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00036 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 00037 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 00038 00039 POSSIBILITY OF SUCH DAMAGE. 00040 00041 ************************************************************************ */ 00042 #include "utils.h" 00043 00044 unsigned int uncached ( int addr ) 00045 { 00046 if( CPU_TYPE == "AT32AP7000" ) 00047 return (addr | 0xA0000000); 00048 else 00049 return addr; 00050 } 00051
1.5.3-20071008