⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messages.h

📁 Nucleus_2_kvm_Hello 是kvm移植到Nucleus系统的源代码。。。好东西啊
💻 H
📖 第 1 页 / 共 2 页
字号:
/* * Copyright (c) 2001-2002 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: Error messages * FILE:      messages.h * OVERVIEW:  This file separates the error message strings *            and other user-level C strings from the rest  *            of the virtual machine. * AUTHOR:    Antero Taivalsaari *            Frank Yellin *=======================================================================*//*========================================================================= * Include files *=======================================================================*//*========================================================================= * Definitions and declarations *=======================================================================*//*========================================================================= * Messages in VmCommon *=======================================================================*//* Messages in events.h */#define KVM_MSG_INVALID_TIMESLICE \        "Fatal: Timeslice < 0"/* Messages in StartJVM.c */#define KVM_MSG_CLASS_NOT_FOUND_1STRPARAM \        "Class '%s' not found"#define KVM_MSG_MUST_PROVIDE_CLASS_NAME \        "Must provide class name"/* Messages in bytecodes.c */#define KVM_MSG_EXPECTED_INITIALIZED_CLASS \        "Expected an initialized class"#define KVM_MSG_BAD_CLASS_CANNOT_INSTANTIATE \        "Cannot instantiate bad class"#define KVM_MSG_ILLEGAL_WIDE_BYTECODE_EXTENSION \        "Illegal WIDE bytecode extension"#define KVM_MSG_BREAKPOINT \        "Breakpoint\n"#define KVM_MSG_NO_SUCH_METHOD_2STRPARAMS \        "No such method %s.%s"/* Messages in class.c */#define KVM_MSG_CLASS_EXTENDS_FINAL_CLASS_2STRPARAMS \        "Class %s extends final class %s"#define KVM_MSG_INTERFACE_DOES_NOT_EXTEND_JAVALANGOBJECT_1STRPARAM \        "Interface %s does not extend java.lang.Object"#define KVM_MSG_ERROR_VERIFYING_CLASS_1STRPARAM \        "Error verifying class %s"#define KVM_MSG_BAD_CLASS_STATE \        "Bad class state"#define KVM_MSG_STATIC_INITIALIZER_FAILED \        "Static class initializer failed"#define KVM_MSG_UNABLE_TO_INITIALIZE_SYSTEM_CLASSES \        "Unable to initialize system classes"#define KVM_MSG_BAD_CALL_TO_GETRAWCLASS \        "Bad call to getRawClass"#define KVM_MSG_BAD_CALL_TO_GETCLASS \        "Bad call to getClass"#define KVM_MSG_BAD_SIGNATURE \        "Bad signature found"#define KVM_MSG_STRINGBUFFER_OVERFLOW \        "Buffer overflow in getStringContentsSafely()"#define KVM_MSG_CREATING_PRIMITIVE_ARRAY \        "Creating primitive array?"/* Messages in collector.c and collectorDebug.c */#define KVM_MSG_NOT_ENOUGH_MEMORY \        "Not enough memory to initialize the system"#define KVM_MSG_CALLED_ALLOCATOR_WHEN_FORBIDDEN \        "Called memory allocator when forbidden"#define KVM_MSG_UNABLE_TO_EXPAND_PERMANENT_MEMORY \        "Unable to expand permanent memory"#define KVM_MSG_BAD_DYNAMIC_HEAP_OBJECTS_FOUND \        "Bad dynamic heap objects found"#define KVM_MSG_BAD_STACK_INFORMATION \        "Bad stack information found"#define KVM_MSG_CONFLICTING_STACK_SIZES \        "Conflicting stack sizes"#define KVM_MSG_SWEEPING_SCAN_WENT_PAST_HEAP_TOP \        "Sweeping scan went past heap top"#define KVM_MSG_BREAK_TABLE_CORRUPTED \        "GC break table corrupted"#define KVM_MSG_HEAP_ADDRESS_NOT_FOUR_BYTE_ALIGNED \        "Heap address is not four-byte aligned"#define KVM_MSG_UNEXPECTED_STATICBIT \        "Unexpected STATICBIT found"#define KVM_MSG_BAD_GC_TAG_VALUE \        "Bad GC tag value found"#define KVM_MSG_INVALID_HEAP_POINTER \        "Invalid heap pointer found"/* Additional messages in collectorDebug.c */#define KVM_MSG_POINTER_IN_OLD_SPACE \        "Fatal: Pointer in old space"#define KVM_MSG_HEAP_CORRUPTED \        "Heap corrupted"/* Messages in execute.c */#define KVM_MSG_ABSTRACT_METHOD_INVOKED \        "Abstract method invoked"#define KVM_MSG_ILLEGAL_BYTECODE_1LONGPARAM \        "Illegal bytecode %ld"#define KVM_MSG_SLOWINTERPRETER_STOPPED \        "Stopped in SlowInterpret()"#define KVM_MSG_INTERPRETER_STOPPED \        "Stopped in Interpret()"#define KVM_MSG_BYTECODE_NOT_IMPLEMENTED_1LONGPARAM \        "Bytecode %ld not implemented"/* Messages in fields.c */#define KVM_MSG_BAD_METHOD_SIGNATURE \        "Bad method signature"#define KVM_MSG_BAD_CALL_TO_GETNAMEANDTYPEKEY \        "Bad call to getNameAndTypeKey()"/* Messages in frame.c */#define KVM_MSG_ILLEGAL_EXCEPTION_NAME_1STRPARAM \        "Illegal exception name %s"/* Messages in garbage.c */#define KVM_MSG_TEMPORARY_ROOT_OVERFLOW \        "Temporary root overflow"#define KVM_MSG_GLOBAL_ROOT_OVERFLOW \        "Global root overflow"#define KVM_MSG_OUT_OF_HEAP_MEMORY \        "Out of heap memory!"#define KVM_MSG_ERROR_TOO_MANY_CLEANUP_REGISTRATIONS \        "Error, too many cleanup registrations"#define KVM_MSG_CIRCULAR_GC_INVOCATION \        "Circular GC invocation!"/* Messages in hashtable.c */#define KVM_MSG_BAD_CALL_TO_GETUSTRING \        "Bad call to getUString()"#define KVM_MSG_TOO_MANY_NAMETABLE_KEYS \        "Too many entries in name table"#define KVM_MSG_TOO_MANY_CLASS_KEYS \        "Too many entries in class table"#define KVM_MSG_CREATING_CLASS_IN_SYSTEM_PACKAGE \        "Cannot create class in system package"#define KVM_MSG_BAD_UTF_STRING \        "Bad UTF string"/* Messages in interpret.c */#define KVM_MSG_STACK_POINTER_CORRUPTED \        "Stack pointer corrupted"#define KVM_MSG_FRAME_POINTER_CORRUPTED \        "Frame pointer corrupted"#define KVM_MSG_LOCALS_POINTER_CORRUPTED \        "Locals pointer corrupted"#define KVM_MSG_ACTIVE_THREAD_COUNT_CORRUPTED \        "Active thread count corrupted"#define KVM_MSG_NO_SUCH_FIELD_2STRPARAMS \        "No such field %s.%s"#define KVM_MSG_NO_SUCH_METHOD_2STRPARAMS \        "No such method %s.%s"/* Messages in loader.c */#define KVM_MSG_BAD_UTF8_INDEX \        "Bad Utf8 index"#define KVM_MSG_BAD_UTF8_STRING \        "Bad Utf8 string"#define KVM_MSG_BAD_NAME \        "Bad class, field or method name"#define KVM_MSG_BAD_CLASS_ACCESS_FLAGS \        "Bad class access flags"#define KVM_MSG_BAD_FIELD_ACCESS_FLAGS \        "Bad field access flags"#define KVM_MSG_BAD_FIELD_SIGNATURE \        "Bad field signature"#define KVM_MSG_BAD_METHOD_ACCESS_FLAGS \        "Bad method access flags"#define KVM_MSG_BAD_CONSTANT_INDEX \        "Bad constant index"#define KVM_MSG_NOT_A_JAVA_CLASSFILE \        "Class loading failed: Not a Java class file!"#define KVM_MSG_BAD_64BIT_CONSTANT \        "Bad 64-bit constant"#define KVM_MSG_INVALID_CONSTANT_POOL_ENTRY \        "Invalid constant pool entry"#define KVM_MSG_BAD_FIELD_OR_METHOD_REFERENCE \        "Bad field or method reference"#define KVM_MSG_BAD_NAME_OR_TYPE_REFERENCE \        "Bad name/type reference"#define KVM_MSG_BAD_SUPERCLASS \        "Bad superclass"#define KVM_MSG_BAD_CONSTANTVALUE_LENGTH \        "Bad ConstantValue length"#define KVM_MSG_DUPLICATE_CONSTANTVALUE_ATTRIBUTE \        "Duplicate ConstantValue attribute"#define KVM_MSG_BAD_CONSTANT_INDEX \        "Bad constant index"#define KVM_MSG_DUPLICATE_FIELD_FOUND \        "Duplicate field found"#define KVM_MSG_BAD_EXCEPTION_HANDLER_FOUND \        "Bad exception handler found"#define KVM_MSG_BAD_NEWOBJECT \        "Bad NewObject"#define KVM_MSG_BAD_STACKMAP \        "Bad stack map"#define KVM_MSG_DUPLICATE_STACKMAP_ATTRIBUTE \        "Duplicate StackMap attribute"#define KVM_MSG_METHOD_LONGER_THAN_32KB \        "Maximum byte code length (32kB) exceeded"#define KVM_MSG_TOO_MANY_LOCALS_AND_STACK \        "Maximum size of locals and stack exceeded"#define KVM_MSG_BAD_ATTRIBUTE_SIZE \        "Bad attribute size"#define KVM_MSG_DUPLICATE_CODE_ATTRIBUTE \        "Duplicate Code attribute"#define KVM_MSG_BAD_CODE_ATTRIBUTE_LENGTH \        "Bad Code attribute length"#define KVM_MSG_DUPLICATE_EXCEPTION_TABLE \        "Duplicate exception table"#define KVM_MSG_BAD_EXCEPTION_ATTRIBUTE \        "Bad exception attribute"#define KVM_MSG_MISSING_CODE_ATTRIBUTE \        "Missing code attribute"#define KVM_MSG_TOO_MANY_METHOD_ARGUMENTS \        "More than 255 method arguments"#define KVM_MSG_BAD_FRAME_SIZE \        "Bad frame size"#define KVM_MSG_DUPLICATE_METHOD_FOUND \        "Duplicate method found"#define KVM_MSG_CLASSFILE_SIZE_DOES_NOT_MATCH \        "Class file size does not match"#define KVM_MSG_CANNOT_LOAD_CLASS_1PARAM \        "Unable to load class %s"#define KVM_MSG_CLASS_CIRCULARITY_ERROR \        "Class circularity error"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -