📄 runtime.h
字号:
/*0001*//*
/*0002./ * Copyright (c) 1998-2001 Sun Microsystems, Inc. All Rights Reserved.
/*0003./ *
/*0004./ * This software is the confidential and proprietary information of Sun
/*0005./ * Microsystems, Inc. ("Confidential Information"). You shall not
/*0006./ * disclose such Confidential Information and shall use it only in
/*0007./ * accordance with the terms of the license agreement you entered into
/*0008./ * with Sun.
/*0009./ *
/*0010./ * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
/*0011./ * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
/*0012./ * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
/*0013./ * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
/*0014./ * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
/*0015./ * THIS SOFTWARE OR ITS DERIVATIVES.
/*0016./ *
/*0017./ */
/*0018*/
/*0019*//*=========================================================================
/*0020./ * SYSTEM: KVM
/*0021./ * SUBSYSTEM: Machine-specific functions
/*0022./ * FILE: runtime.h
/*0023./ * OVERVIEW: This file defines the machine-specific function
/*0024./ * prototypes necessary for implementing Java.
/*0025./ * Platform-specific implementations of these functions
/*0026./ * must be provided in a port-specific "runtime_md.c"
/*0027./ * file.
/*0028./ * AUTHOR: Frank Yellin
/*0029./ *=======================================================================*/
/*0030*/
/*0031*//*=========================================================================
/*0032./ * Function prototypes
/*0033./ *=======================================================================*/
/*0034*/
/*0035*//* Any of these functions might be defined as macros
/*0036./ * in the "machine_md.h" file for a particular implementation.
/*0037./ */
/*0038*/#ifndef MAXCALENDARFLDS
/*0039*/#define MAXCALENDARFLDS 15
/*0040*/#endif
/*0041*/
/*0042*/#ifndef AlertUser
/*0043*/void AlertUser(const char* message);
/*0044*/#endif
/*0045*/
/*0046*/#ifndef allocateHeap
/*0047*/cell *allocateHeap(long *sizeptr, void **realresultptr);
/*0048*/#endif
/*0049*/
/*0050*/#ifndef InitializeNativeCode
/*0051*/void InitializeNativeCode();
/*0052*/#endif
/*0053*/
/*0054*/#ifndef FinalizeNativeCode
/*0055*/void FinalizeNativeCode(void);
/*0056*/#endif
/*0057*/
/*0058*/#ifndef InitializeVM
/*0059*/void InitializeVM();
/*0060*/#endif
/*0061*/
/*0062*/#ifndef FinalizeVM
/*0063*/void FinalizeVM(void);
/*0064*/#endif
/*0065*/
/*0066*/#ifndef Calendar_md
/*0067*/unsigned long *Calendar_md(void);
/*0068*/#endif
/*0069*/
/*0070*/#ifndef CurrentTime_md
/*0071*/ulong64 CurrentTime_md(void);
/*0072*/#endif
/*0073*/
/*0074*/#ifndef RandomNumber_md
/*0075*/long RandomNumber_md();
/*0076*/#endif
/*0077*/
/*0078*/#if ASYNCHRONOUS_NATIVE_FUNCTIONS
/*0079*/
/*0080*/#ifndef Yield_md
/*0081*/void Yield_md(void);
/*0082*/#endif
/*0083*/
/*0084*/#ifndef CallAsyncNativeFunction_md
/*0085*/struct asynciocb;
/*0086*/void CallAsyncNativeFunction_md(struct asynciocb *, void (*)(struct asynciocb *));
/*0087*/#endif
/*0088*/
/*0089*/#ifndef InitalizeAsynchronousIO
/*0090*/void InitalizeAsynchronousIO(void);
/*0091*/#endif
/*0092*/
/*0093*/#endif /* ASYNCHRONOUS_NATIVE_FUNCTIONS */
/*0094*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -