From 20c6bf50fe89c94e57ba7920d667ad28541c3ce1 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 14 Apr 2007 01:18:06 +0000 Subject: Do the target shuffle again a better way by including from higher levels git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13151 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/system-pp.h | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 firmware/target/arm/system-pp.h (limited to 'firmware/target/arm/system-pp.h') diff --git a/firmware/target/arm/system-pp.h b/firmware/target/arm/system-pp.h deleted file mode 100644 index 47ef48218c..0000000000 --- a/firmware/target/arm/system-pp.h +++ /dev/null @@ -1,53 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Copyright (C) 2002 by Alan Korr - * Copyright (C) 2007 by Michael Sevakis - * - * All files in this archive are subject to the GNU General Public License. - * See the file COPYING in the source tree root for full license agreement. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ - -#define inl(a) (*(volatile unsigned long *) (a)) -#define outl(a,b) (*(volatile unsigned long *) (b) = (a)) -#define inb(a) (*(volatile unsigned char *) (a)) -#define outb(a,b) (*(volatile unsigned char *) (b) = (a)) -#define inw(a) (*(volatile unsigned short *) (a)) -#define outw(a,b) (*(volatile unsigned short *) (b) = (a)) -extern unsigned int ipod_hw_rev; - -static inline void udelay(unsigned usecs) -{ - unsigned stop = USEC_TIMER + usecs; - while (TIME_BEFORE(USEC_TIMER, stop)); -} - -unsigned int current_core(void); - -#if CONFIG_CPU != PP5002 - -#define HAVE_INVALIDATE_ICACHE -static inline void invalidate_icache(void) -{ - outl(inl(0xf000f044) | 0x6, 0xf000f044); - while ((CACHE_CTL & 0x8000) != 0); -} - -#define HAVE_FLUSH_ICACHE -static inline void flush_icache(void) -{ - outl(inl(0xf000f044) | 0x2, 0xf000f044); - while ((CACHE_CTL & 0x8000) != 0); -} - -#endif /* CONFIG_CPU */ -- cgit