Invention Grant
US09274940B2 Method and apparatus for allocating memory space with write-combine attribute
有权
使用写入组合属性分配存储空间的方法和装置
- Patent Title: Method and apparatus for allocating memory space with write-combine attribute
- Patent Title (中): 使用写入组合属性分配存储空间的方法和装置
-
Application No.: US14102061Application Date: 2013-12-10
-
Publication No.: US09274940B2Publication Date: 2016-03-01
- Inventor: Shengyong Peng
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Priority: CN201210578807 20121227
- Main IPC: G06F12/02
- IPC: G06F12/02

Abstract:
Embodiments of the present invention disclose a method and an apparatus for allocating a memory space with a write-combine attribute, including: determining, when resources of devices are scanned, a type and a size of a resource required by each device; determining, after the scanning of the resources of the devices is completed, a total size of write-combine memory spaces required by all first devices; then determining a starting address used to allocate a write-combine memory space to the first devices; and allocating one memory space jointly to all the first devices and allocating, from the one memory space, a sub-memory space to each first device. According to the embodiments of the present invention, a memory space with a write-combine attribute can be allocated to devices in a more reliable manner and by using a relatively simple allocation method.
Public/Granted literature
- US20140189278A1 METHOD AND APPARATUS FOR ALLOCATING MEMORY SPACE WITH WRITE-COMBINE ATTRIBUTE Public/Granted day:2014-07-03
Information query