Intelligent UEFI run-time services address space management

US10185571B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10185571-B2
Application numberUS-201715618010-A
CountryUS
Kind codeB2
Filing dateJun 8, 2017
Priority dateJun 8, 2017
Publication dateJan 22, 2019
Grant dateJan 22, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method of re-mapping memory regions for firmware run-time services to a virtual address space of a kernel executed on a processor, includes the steps of selecting a re-mapping policy for re-mapping the memory regions for the firmware run-time services, creating a new mapping according to the selected re-mapping policy, and making a call to an application programming interface exposed by the firmware to apply the new map and re-map the memory regions for the firmware to the virtual address space of the kernel.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of re-mapping memory regions for firmware run-time services to a virtual address space of a kernel executed on a processor, comprising: selecting a re-mapping policy for re-mapping the memory regions for the firmware run-time services; creating a new mapping according to the selected re-mapping policy; and making a call to an application programming interface exposed by the firmware to apply the new mapping and re-map the memory regions for the firmware to the virtual address space of the kernel. 2. The method of claim 1 , wherein the firmware operates in accordance with the Unified Extensible Firmware Interface (UEFI) specification. 3. The method of claim 1 , wherein the re-mapping policy is selected from one of a plurality of re-mapping policies. 4. The method of claim 3 , wherein the selected re-mapping policy is a simple re-mapping policy according to which the run-time services memory regions are re-mapped into the virtual address space of the kernel by a fixed offset from the beginning of its virtual address space, while maintaining relative offsets between mappings of the run-time services memory regions. 5. The method of claim 3 , wherein the selected re-mapping policy is a sparse re-mapping policy according to which the run-time services memory regions are re-mapped into the virtual address space of the kernel by a fixed offset from the beginning of its virtual address space, while maintaining relative offsets between mappings of the run-time services memory regions, wherein the fixed offset is increased so as to eliminate any empty memory region at the beginning of the run-time services memory regions. 6. The method of claim 3 , wherein the selected re-mapping policy is a compact re-mapping policy according to which the run-time services memory regions are re-mapped into the virtual address space of the kernel by a fixed offset from the beginning of its virtual address space, while maintaining relative offsets between mappings of some adjacent pairs of the run-time services memory regions, wherein the fixed offset is increased so as to eliminate any empty memory region at the beginning of the run-time services memory regions and relative offsets between other adjacent pairs of the run-time services memory regions are eliminated. 7. The method of claim 3 , wherein the selected re-mapping policy is a contiguous re-mapping policy according to which the run-time services memory regions are re-mapped into one contiguous virtual address space within the kernel virtual address space. 8. The method of claim 3 , wherein the plurality of re-mapping policies is evaluated in order until one of the re-mapping policies is selected. 9. The method of claim 8 , wherein one of the re-mapping policies is selected if there is sufficient space in the virtual address space of the kernel to accommodate the new mapping that is created according to the selected re-mapping policy. 10. The method of claim 8 , wherein a special technique of invoking the firmware application programming interface to apply the selected re-mapping policy with both sets of mappings present is used, if new kernel mappings created according to the selected re-mapping policy do not conflict with existing mappings of the virtual address space of the firmware. 11. A non-transitory computer readable medium comprising instructions for causing a processor to perform a method of re-mapping memory regions for firmware run-time services to a virtual address space of a kernel executed on the processor, wherein the method comprises: selecting a re-mapping policy for re-mapping the memory regions for the firmware run-time services; creating a new mapping according to the selected re-mapping policy; and making a call to an application programming interface exposed by the firmware to apply the new map and re-map the memory regions for the firmware to the virtual address space of the kernel. 12. The non-transitory computer readable medium of claim 11 , wherein the firmware operates in accordance with the Unified Extensible Firmware Interface (UEFI) specification. 13. The non-transitory computer readable medium of claim 11 , wherein the re-mapping policy is selected from one of a plurality of re-mapping policies. 14. The non-transitory computer readable medium of claim 13 , wherein the plurality of re-mapping policies is evaluated in order until one of the re-mapping policies is selected. 15. The non-transitory computer readable medium of claim 14 , wherein one of the re-mapping policies is selected if there is sufficient space in the virtual address space of the kernel to accommodate the new mapping that is created according to the selected re-mapping policy. 16. A computer system, comprising: a system memory which includes memory regions for firmware run-time services; and a processor configured to re-map the memory regions for the firmware run-time services to a virtual address space of a kernel executed thereon by carrying out the steps of selecting a re-mapping policy for re-mapping the memory regions for the firmware run-time services, creating a new mapping according to the selected re-mapping policy, and making a call to an application programming interface exposed by the firmware to apply the new map and re-map the memory regions for the firmware to the virtual address space of the kernel. 17. The system of claim 16 , wherein the firmware operates in accordance with the Unified Extensible Firmware Interface (UEFI) specification. 18. The system of claim 16 , wherein the re-mapping policy is selected from one of a plurality of re-mapping policies. 19. The system of claim 18 , wherein the plurality of re-mapping policies is evaluated in order until one of the re-mapping policies is selected. 20. The system of claim 19 , wherein one of the re-mapping policies is selected if there is sufficient space in the virtual address space of the kernel to accommodate the new mapping that is created according to the selected re-mapping policy.

Assignees

Inventors

Classifications

  • Memory management, e.g. access or allocation · CPC title

  • by power-on test, e.g. power-on self test [POST] · CPC title

  • Built-in tests · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10185571B2 cover?
A method of re-mapping memory regions for firmware run-time services to a virtual address space of a kernel executed on a processor, includes the steps of selecting a re-mapping policy for re-mapping the memory regions for the firmware run-time services, creating a new mapping according to the selected re-mapping policy, and making a call to an application programming interface exposed by the f…
Who is the assignee on this patent?
Vmware Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/4406. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 22 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).