From 3e06f513d49b017255a27df80c6c1bb7eb7967fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 17 Mar 2005 17:09:58 +0000 Subject: [PATCH] Added the missing clear_caches() function - thanks to Michael Lotz for his indirect report :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11870 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/os/image.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/kernel/libroot/os/image.c b/src/kernel/libroot/os/image.c index 5ca4344fa0..a420128126 100644 --- a/src/kernel/libroot/os/image.c +++ b/src/kernel/libroot/os/image.c @@ -1,7 +1,7 @@ -/* -** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. -** Distributed under the terms of the Haiku License. -*/ +/* + * Copyright 2003-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Distributed under the terms of the MIT License. + */ #include @@ -75,6 +75,16 @@ _get_next_image_info(team_id team, int32 *cookie, image_info *info, size_t infoS } +void +clear_caches(void *address, size_t length, uint32 flags) +{ + _kern_clear_caches(address, length, flags); +} + + +// #pragma mark - + + void __init_image(const struct uspace_program_args *args) {