From 112bea4baca4f468e3ec6c4f8365c827ee1308c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 17 Oct 2003 12:54:34 +0000 Subject: [PATCH] Added the arch_cpu_sync_icache() function for x86 from NewOS. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5062 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/arch/x86/arch_cpu.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/kernel/core/arch/x86/arch_cpu.c b/src/kernel/core/arch/x86/arch_cpu.c index 4baed17844..3e3290c8fe 100755 --- a/src/kernel/core/arch/x86/arch_cpu.c +++ b/src/kernel/core/arch/x86/arch_cpu.c @@ -264,3 +264,10 @@ arch_cpu_idle(void) } } + +void +arch_cpu_sync_icache(void *address, size_t length) +{ + // instruction cache is always consistent on x86 +} +