Function-based virtual-to-physical address translation
    41.
    发明申请
    Function-based virtual-to-physical address translation 有权
    基于功能的虚拟到物理地址转换

    公开(公告)号:US20070283123A1

    公开(公告)日:2007-12-06

    申请号:US11446620

    申请日:2006-06-05

    IPC分类号: G06F12/00

    摘要: A computer system employing memory virtualization may employ a function-based technique for virtual-to-physical address translation. A function-based translation technique may involve replacing a generic trap handler and one or more translation table look-ups with a function to compute a corresponding physical address from a given virtual address. The computer system may be configured to determine a translation function dependent on mappings in one or more translation tables. The computer system may be configured to reorganize a memory, to reorganize one or more translation tables, or to allocate different blocks of memory to an application prior to determining a translation function. Different applications or threads executing on the computer system may employ different translation functions. Different regions of memory may be accessed using different translation functions. Some virtual addresses may be translated using a function while others may be translated using one or more translation table look-ups.

    摘要翻译: 采用存储器虚拟化的计算机系统可以采用基于功能的虚拟到物理地址转换技术。 基于函数的翻译技术可以包括用一个函数来替换一个通用陷阱处理程序和一个或多个翻译表查找,以从给定的虚拟地址计算对应的物理地址。 计算机系统可以被配置为根据一个或多个翻译表中的映射来确定翻译函数。 计算机系统可以被配置为在确定翻译功能之前重新组织存储器,重新组织一个或多个转换表,或者将不同的存储器块分配给应用。 在计算机系统上执行的不同应用或线程可以采用不同的翻译功能。 可以使用不同的翻译功能访问不同的存储器区域。 可以使用功能翻译一些虚拟地址,而可以使用一个或多个翻译表查找来翻译其他虚拟地址。

    System and method for range check elimination via iteration splitting in a dynamic compiler
    42.
    发明授权
    System and method for range check elimination via iteration splitting in a dynamic compiler 有权
    通过动态编译器中的迭代分割来消除范围检查的系统和方法

    公开(公告)号:US07222337B2

    公开(公告)日:2007-05-22

    申请号:US09872458

    申请日:2001-05-31

    IPC分类号: G06G9/45

    CPC分类号: G06F9/45516

    摘要: A range check elimination loop structure is provided. The range check elimination loop structure includes a pre-loop structure based on an original loop structure, where the pre-loop structure is capable of testing indexing expressions for underflow. In addition, a main loop structure having indexing expressions based on the original loop structure is included. The indexing expressions included in the main loop preferably cannot produce an underflow or an overflow. Also included in the range check elimination loop structure is a post-loop structure based on the original loop structure that is capable of testing indexing expressions for overflow.

    摘要翻译: 提供范围检查消除循环结构。 范围检查消除循环结构包括基于原始循环结构的预循环结构,其中预循环结构能够测试下溢的索引表达式。 另外,包括具有基于原始循环结构的索引表达式的主循环结构。 包括在主回路中的索引表达优选地不能产生下溢或溢出。 范围检查消除循环结构中还包括基于能够测试索引表达式溢出的原始循环结构的后循环结构。

    Method and apparatus for building calling convention prolog and epilog code using a register allocator
    43.
    发明授权
    Method and apparatus for building calling convention prolog and epilog code using a register allocator 有权
    使用寄存器分配器构建调用约定序言和epilog代码的方法和装置

    公开(公告)号:US06408433B1

    公开(公告)日:2002-06-18

    申请号:US09298411

    申请日:1999-04-23

    IPC分类号: G06F945

    CPC分类号: G06F8/441 G06F8/447

    摘要: Methods and apparatus for enabling a register allocator to build a calling convention are disclosed. According to one aspect of the present invention, a computer-implemented method for generating code associated with a calling convention includes obtaining compilable source code, and identifying at least one argument associated with the calling convention. The location of the argument with respect to memory space is described by a register mask. The method also includes performing a register allocation using a register allocator that is arranged to allocate registers. During the register allocation, code associated with the calling convention is produced automatically by the spill-code mechanism in the allocator without requiring the use of a specialized prolog or epilog code generator.

    摘要翻译: 公开了使寄存器分配器能够构建调用约定的方法和装置。 根据本发明的一个方面,一种用于生成与调用约定相关联的代码的计算机实现的方法包括获得可编译的源代码,并且识别与调用约定相关联的至少一个参数。 相对于存储器空间的参数的位置由寄存器掩码描述。 该方法还包括使用布置成分配寄存器的寄存器分配器执行寄存器分配。 在寄存器分配期间,与调用约定相关联的代码由分配器中的溢出代码机制自动产生,而不需要使用专门的序言或epilog代码生成器。

    Automatic adapter/stub generator
    44.
    发明授权
    Automatic adapter/stub generator 有权
    自动适配器/短线发生器

    公开(公告)号:US06381737B1

    公开(公告)日:2002-04-30

    申请号:US09298637

    申请日:1999-04-23

    IPC分类号: G06F945

    CPC分类号: G06F8/30 G06F8/41

    摘要: Systems and methods for automatically providing an adapter or a stub in a runtime environment are provided. An adapter generator is provided with input parameters that are in turn processed and input to a compiler. The compiler, in turn, is coupled to an adapter library used to store the generated adapters. The adapter library, in turn, provides adapters, on demand to a runtime system when executing a bytecode, or a series of bytecodes.

    摘要翻译: 提供了在运行时环境中自动提供适配器或存根的系统和方法。 适配器发生器具有输入参数,这些输入参数又被处理并输入到编译器。 编译器依次耦合到用于存储生成的适配器的适配器库。 适配器库反过来,当执行字节码时,根据需要向运行时系统提供适配器或一系列字节码。

    Method and apparatus for handling exceptions as normal control flow
    45.
    发明授权
    Method and apparatus for handling exceptions as normal control flow 有权
    作为正常控制流程处理异常的方法和装置

    公开(公告)号:US06363522B1

    公开(公告)日:2002-03-26

    申请号:US09298354

    申请日:1999-04-23

    IPC分类号: G06F945

    CPC分类号: G06F8/4434 G06F2209/481

    摘要: Methods and apparatus for handling exceptions as a part of normal program control flow are disclosed. According to one aspect of the present invention, a method for processing an exception in an object-based system includes obtaining source code that includes a code segment which is arranged to explicitly specify instructions pertaining to an exception check. The method also includes creating a final internal representation of the source code at least in part by removing a call associated with the exception check, and generating machine code associated with the final internal representation. In one embodiment, the method further includes executing the machine code. In another embodiment, creating the final internal representation of the source code includes processing the exception check as a part of a control flow associated with the source code.

    摘要翻译: 公开了将异常作为正常程序控制流程的一部分来处理的方法和装置。 根据本发明的一个方面,一种用于在基于对象的系统中处理异常的方法包括获得源代码,其包括被配置为明确地指定与异常检查有关的指令的代码段。 该方法还包括至少部分地通过去除与异常检查相关联的呼叫以及生成与最终内部表示相关联的机器代码来创建源代码的最终内部表示。 在一个实施例中,该方法还包括执行机器代码。 在另一实施例中,创建源代码的最终内部表示包括将异常检查作为与源代码相关联的控制流的一部分进行处理。

    Method and apparatus for avoiding register interference
    46.
    发明授权
    Method and apparatus for avoiding register interference 有权
    避免寄存器干扰的方法和装置

    公开(公告)号:US08806460B2

    公开(公告)日:2014-08-12

    申请号:US13358863

    申请日:2012-01-26

    IPC分类号: G06F9/45 G06F12/02

    CPC分类号: G06F8/441

    摘要: The aspects enable a computing device to allocate memory space to variables during runtime compilation of a software application. A first variable associated with a code segment within code being compiled may be identified and assigned a priority tag. A second variable associated with another code segment within the code being compiled may also be assigned a priority tag. A determination may be made regarding whether the first and second variables are contemporaneously live during execution, and whether legal storage location sets for the first and second variables overlap. The assigned priority tags may be used for assigning storage locations to the first and second variables based on the determination.

    摘要翻译: 这些方面使计算设备能够在软件应用程序的运行时编译期间向存储空间分配内存空间。 可以识别与正在编译的代码内的代码段相关联的第一变量并分配优先级标签。 与正在编译的代码中的另一代码段相关联的第二变量也可以被分配优先级标签。 可以确定第一和第二变量在执行期间是否同时生存,以及第一和第二变量的合法存储位置是否重叠。 分配的优先级标签可以用于基于确定将存储位置分配给第一和第二变量。

    Concurrent Parsing and Processing of Serial Languages
    47.
    发明申请
    Concurrent Parsing and Processing of Serial Languages 有权
    并行解析和处理串行语言

    公开(公告)号:US20120317475A1

    公开(公告)日:2012-12-13

    申请号:US13589862

    申请日:2012-08-20

    IPC分类号: G06F17/00

    摘要: The aspects enable a processor to concurrently execute a first serial language code (e.g., HTML) embedding a second serial language code (e.g., JavaScript®) during a page load operation by a browser. A parser parses the first serial language code until a segment of the embedded second serial language code is encountered. The segment of embedded second serial language code is extracted for execution by an execution engine, which proceeds concurrently with speculative parsing of the first serial language code. Code generated by execution of second serial language code is evaluated to determine if it is well formed, and a partial rollback and re-parsing of the first serial language code is performed if the code is not well formed.

    摘要翻译: 这些方面使处理器能够在浏览器的页面加载操作期间同时执行嵌入第二串行语言代码(例如,JavaScript®)的第一串行语言代码(例如,HTML)。 解析器解析第一个串行语言代码,直到遇到嵌入式第二个串行语言代码的一段。 提取嵌入式第二串行语言代码段以供执行引擎执行,该执行引擎与第一串行语言代码的推测性解析同时进行。 对执行第二串行语言代码生成的代码进行评估,以确定其形状是否良好,如果代码形式不正确,则会执行第一个串行语言代码的部分回滚和重新解析。

    Method and system for performing I/O operations using a hypervisor
    48.
    发明授权
    Method and system for performing I/O operations using a hypervisor 有权
    使用管理程序执行I / O操作的方法和系统

    公开(公告)号:US07979869B2

    公开(公告)日:2011-07-12

    申请号:US11932825

    申请日:2007-10-31

    IPC分类号: G06F13/00

    摘要: A method for installing a device driver for a device in a guest domain, that includes obtaining a first device driver for the device by a hypervisor, installing, by the hypervisor, the first device driver into memory allocated to the guest domain, and notifying an operating system in the guest domain of the first device driver after installing the device driver, wherein the operating system communicates with the device using the first device driver.

    摘要翻译: 一种用于安装来宾域中的设备的设备驱动程序的方法,其包括由管理程序获取所述设备的第一设备驱动程序,由所述管理程序将所述第一设备驱动程序安装到分配给所述访客域的存储器中,以及通知 操作系统在安装设备驱动程序之后的第一设备驱动程序的访客域中,其中操作系统使用第一设备驱动程序与设备进行通信。

    METHOD AND SYSTEM FOR DISCOVERY OF A ROOT FILE SYSTEM
    49.
    发明申请
    METHOD AND SYSTEM FOR DISCOVERY OF A ROOT FILE SYSTEM 有权
    用于发现基本文件系统的方法和系统

    公开(公告)号:US20100235615A1

    公开(公告)日:2010-09-16

    申请号:US12403738

    申请日:2009-03-13

    IPC分类号: G06F9/00 G06F15/177

    CPC分类号: G06F9/4406

    摘要: A method for discovery of a root file system that includes obtaining a tag corresponding to a boot image for an operating system, identifying, by a boot loader, a location of the boot image having a predefined value matching the tag, loading a kernel of the operating system retrieved from the boot image, and transferring execution to the kernel, wherein the boot loader provides the tag for the location to the kernel. The method further includes identifying, by the kernel, the location of the root file system based on the tag provided by the boot loader, and executing the operating system on a processor using the root file system identified by the kernel.

    摘要翻译: 一种用于发现根文件系统的方法,包括获得与操作系统的引导映像相对应的标签,由引导加载程序识别具有与标签匹配的预定值的引导映像的位置,加载 操作系统从引导映像检索,并将执行转移到内核,其中引导加载程序为内核提供位置的标签。 该方法还包括由内核根据引导加载程序提供的标签来识别根文件系统的位置,以及使用由内核识别的根文件系统在处理器上执行操作系统。

    Method and system for enabling a synchronization-free and parallel commit phase
    50.
    发明授权
    Method and system for enabling a synchronization-free and parallel commit phase 有权
    实现无同步和并行提交阶段的方法和系统

    公开(公告)号:US07797329B2

    公开(公告)日:2010-09-14

    申请号:US11450763

    申请日:2006-06-09

    CPC分类号: G06F9/528

    摘要: A method for committing memory transactions in an application that includes executing a plurality of sections of the application in parallel, logging a plurality of memory transactions that occur while executing the plurality of sections to obtain a plurality of logs and a plurality of temporary results, wherein the plurality of memory transactions that includes a plurality of writes to at least one memory location, comparing the plurality of logs to identify an optimal list of writes from the plurality of writes, and committing memory transactions corresponding to a subset of the plurality of temporary results, wherein the subset of the plurality of temporary results is identified by the optimal list of writes.

    摘要翻译: 一种在应用程序中提交内存事务的方法,包括并行执行应用程序的多个部分,记录在执行多个部分时发生的多个存储器事务,以获得多个日志和多个临时结果,其中 所述多个存储器事务包括对至少一个存储器位置的多个写入,比较所述多个日志以识别来自所述多个写入的最佳写入列表,以及提交与所述多个临时结果的子集相对应的存储器事务 ,其中所述多个临时结果的子集由最佳写入列表识别。