Patent ID: 9274940
Filing Date: 2016-03-01
CPC Classification: G06F

Claim Text:
1. A method for allocating a memory space with a write-combine attribute, the method comprising: determining, when resources of devices are scanned, a type and a size of a resource required by each device, wherein the type comprises a write-combine memory space; after the scanning of the resources of the devices is completed, determining, according to a size of a write-combine memory space required by each first device, a total size of write-combine memory spaces required by all first devices, wherein the first devices are devices whose resource types comprise the write-combine memory space; and determining a starting address used to allocate a write-combine memory space to the first devices, wherein the starting address is located subsequent to memory spaces allocated to memory modules and a non-write-combine memory space allocated to the devices; and allocating, from the starting address, one memory space jointly to all the first devices according to the total size, and allocating, from the one memory space, a sub-memory space to each first device according to the size of the write-combine memory space required by each first device.