1 /* 2 * Copyright 2007, François Revol, revol@free.fr. 3 * Distributed under the terms of the MIT License. 4 * 5 * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>. 6 * All rights reserved. Distributed under the terms of the MIT License. 7 */ 8 9 //#include <arch_platform.h> 10 11 #include <new> 12 13 #include <KernelExport.h> 14 #include <arch/platform.h> 15 #include <boot/kernel_args.h> 16 //#include <platform/openfirmware/openfirmware.h> 17 #include <real_time_clock.h> 18 #include <util/kernel_cpp.h> 19 20 /* 21 static M68KPlatform *sM68KPlatform; 22 23 24 // constructor 25 M68KPlatform::M68KPlatform(platform_type platformType, 26 m68k_platform_type m68kPlatformType) 27 : fPlatformType(platformType), 28 fM68KPlatformType(m68kPlatformType) 29 { 30 } 31 32 // destructor 33 M68KPlatform::~M68KPlatform() 34 { 35 } 36 37 // Default 38 M68KPlatform * 39 M68KPlatform::Default() 40 { 41 return sM68KPlatform; 42 } 43 44 45 // # pragma mark - 46 */ 47 48 status_t 49 arch_platform_init(struct kernel_args *kernelArgs) 50 { 51 #warning ARM:WRITEME 52 53 return B_OK; 54 } 55 56 57 status_t 58 arch_platform_init_post_vm(struct kernel_args *kernelArgs) 59 { 60 return B_OK; 61 #warning ARM:WRITEME 62 //sM68KPlatform->InitPostVM(kernelArgs); 63 } 64 65 66 status_t 67 arch_platform_init_post_thread(struct kernel_args *kernelArgs) 68 { 69 return B_OK; 70 } 71