📄 runtime.h
字号:
/* * Copyright (c) 1998-2001 Sun Microsystems, Inc. All Rights Reserved. * * This software is the confidential and proprietary information of Sun * Microsystems, Inc. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Sun. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING * THIS SOFTWARE OR ITS DERIVATIVES. * * Use is subject to license terms. *//*========================================================================= * SYSTEM: KVM * SUBSYSTEM: Machine-specific functions * FILE: runtime.h * OVERVIEW: This file defines the machine-specific function * prototypes necessary for implementing Java. * Platform-specific implementations of these functions * must be provided in a port-specific "runtime_md.c" * file. * AUTHOR: Frank Yellin *=======================================================================*//*========================================================================= * Function prototypes *=======================================================================*//* Any of these functions might be defined as macros * in the "machine_md.h" file for a particular implementation. */#ifndef MAXCALENDARFLDS#define MAXCALENDARFLDS 15#endif#ifndef AlertUservoid AlertUser(const char* message);#endif#ifndef allocateHeapcell *allocateHeap(long *sizeptr, void **realresultptr);#endif#ifndef InitializeNativeCodevoid InitializeNativeCode();#endif#ifndef FinalizeNativeCodevoid FinalizeNativeCode(void);#endif#ifndef InitializeVMvoid InitializeVM();#endif#ifndef FinalizeVMvoid FinalizeVM(void);#endif#ifndef Calendar_mdunsigned long *Calendar_md(void);#endif#ifndef CurrentTime_mdulong64 CurrentTime_md(void);#endif#ifndef RandomNumber_mdlong RandomNumber_md();#endif#if ASYNCHRONOUS_NATIVE_FUNCTIONS#ifndef Yield_mdvoid Yield_md(void);#endif#ifndef CallAsyncNativeFunction_mdstruct asynciocb;void CallAsyncNativeFunction_md(struct asynciocb *, void (*)(struct asynciocb *));#endif#ifndef InitalizeAsynchronousIOvoid InitalizeAsynchronousIO(void);#endif#endif /* ASYNCHRONOUS_NATIVE_FUNCTIONS */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -