From ff41eb66a3d9d1205ada764da943db290747fc27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 29 Jun 2008 21:08:12 +0000 Subject: [PATCH] Fix build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26171 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/m68k/arch_platform.h | 1 + src/system/boot/platform/atari_m68k/cpu.cpp | 2 +- src/system/kernel/arch/m68k/arch_platform.cpp | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/headers/private/kernel/arch/m68k/arch_platform.h b/headers/private/kernel/arch/m68k/arch_platform.h index fbcac6a7e1..4b2cc120f4 100644 --- a/headers/private/kernel/arch/m68k/arch_platform.h +++ b/headers/private/kernel/arch/m68k/arch_platform.h @@ -5,6 +5,7 @@ #ifndef _KERNEL_M68K_ARCH_PLATFORM_H #define _KERNEL_M68K_ARCH_PLATFORM_H +#include #include struct real_time_data; diff --git a/src/system/boot/platform/atari_m68k/cpu.cpp b/src/system/boot/platform/atari_m68k/cpu.cpp index fef2a43156..ee37383075 100644 --- a/src/system/boot/platform/atari_m68k/cpu.cpp +++ b/src/system/boot/platform/atari_m68k/cpu.cpp @@ -41,7 +41,7 @@ check_cpu_features() const tos_cookie *c; uint16 cpu_type, fpu_type, fpu_emul; uint16 machine_type; - int fpu; + int fpu = 0; c = tos_find_cookie('_CPU'); if (!c) { diff --git a/src/system/kernel/arch/m68k/arch_platform.cpp b/src/system/kernel/arch/m68k/arch_platform.cpp index f526c20256..8c57e8cedf 100644 --- a/src/system/kernel/arch/m68k/arch_platform.cpp +++ b/src/system/kernel/arch/m68k/arch_platform.cpp @@ -22,8 +22,10 @@ static M68KPlatform *sM68KPlatform; // constructor -M68KPlatform::M68KPlatform(m68k_platform_type platformType) - : fPlatformType(platformType) +M68KPlatform::M68KPlatform(platform_type platformType, + m68k_platform_type m68kPlatformType) + : fPlatformType(platformType), + fM68KPlatformType(m68kPlatformType) { }