Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | resource: store 'end' instead of 'size' in struct resource | Sascha Hauer | 2012-07-01 | 1 | -13/+17 |
| | | | | | | | | | | Storing the size instead of the resource end in struct resource was a mistake. 'size' ranges from 0 to UINT[32|64]_MAX + 1 which obviously leads to problems. 'end' on the other hand will never exceed UINT[32|64]_MAX. Also this way we can express a iomem region covering the whole address space. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> | ||||
* | add resource management functions | Sascha Hauer | 2011-12-03 | 1 | -0/+121 |
It is time to track our memory usage. Add a simple resource management. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |