Add a "count" field to struct memory_map.

This commit is contained in:
Michael Brown
2006-05-25 00:00:30 +00:00
parent 986f6ffff1
commit e4f8d6eed7
2 changed files with 11 additions and 6 deletions

View File

@@ -23,7 +23,10 @@ struct memory_region {
/** A memory map */
struct memory_map {
/** Memory regions */
struct memory_region regions[MAX_MEMORY_REGIONS];
/** Number of used regions */
unsigned int count;
};
extern void get_memmap ( struct memory_map *memmap );