]> git.saurik.com Git - apple/libc.git/blobdiff - ppc/gen/icacheinval.s
Libc-763.13.tar.gz
[apple/libc.git] / ppc / gen / icacheinval.s
index 69ec1a96b09f8e1f8c8435aa34227900ca8b473a..d584a85b9c489e8ddd3f77d9e2c414712ebedc00 100644 (file)
@@ -1,10 +1,8 @@
 /*
- * Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2003-2006 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
- * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
  * Version 2.0 (the 'License'). You may not use this file except in
  * @APPLE_LICENSE_HEADER_END@
  */
 
-#define        __APPLE_API_PRIVATE
 #include <machine/cpu_capabilities.h>
-#undef __APPLE_API_PRIVATE
 
-/* sys_icache_invalidate(char *start, long len) */
-/* this routine has moved to the comm page */
+/* void sys_icache_invalidate(char *start, long len) */
         
         .text
         .globl  _sys_icache_invalidate
         .align 2
 _sys_icache_invalidate:
         ba     _COMM_PAGE_FLUSH_ICACHE
+
+
+
+/* void sys_dcache_flush(char *start, long len) */
+        
+        .text
+        .globl  _sys_dcache_flush
+        .align 2
+_sys_dcache_flush:
+        ba     _COMM_PAGE_FLUSH_DCACHE