发明名称 HIERARCHICAL RESOURCE POOLS IN A LINKER
摘要 A novel declare instruction can be used in source code to declare a sub-pool of resource instances to be taken from the resource instances of a larger declared pool. Using such declare instructions, a hierarchy of pools and sub-pools can be declared. A novel allocate instruction can then be used in the source code to instruct a novel linker to make resource instance allocations from a desired pool or a desired sub-pool of the hierarchy. After compilation, the declare and allocate instructions appear in the object code. The linker uses the declare and allocate instructions in the object code to set up the hierarchy of pools and to make the indicated allocations of resource instances to symbols. After resource allocation, the linker replaces instances of a symbol in the object code with the address of the allocated resource instance, thereby generating executable code.
申请公布号 US2015128118(A1) 申请公布日期 2015.05.07
申请号 US201314074623 申请日期 2013.11.07
申请人 Netronome Systems, Inc. 发明人 Skoglund Espen;Neugebauer Rolf;Theron Francois Henri;Stark Gavin J.
分类号 G06F9/445 主分类号 G06F9/445
代理机构 代理人
主权项 1. A method comprising: (a) supplying a first instruction to a linker to declare a first pool of resource instances of a resource; (b) supplying a second instruction to the linker to declare a second pool of resource instances from the first pool; and (c) supplying a third instruction to the linker to allocate one or more resource instances from the second pool to be associated with a symbol, wherein the first, second and third instructions are parts of an amount of object code supplied to the linker.
地址 Santa Clara CA US