Changeset d8cf54da28e566e73809d772a65b8a1cb1b81f9c
- Timestamp:
- 11/23/09 21:04:05 (2 years ago)
- Author:
- root <root@…>
- Children:
- a06075995c5ea9c4c473820cba03033e9c945a41
- Parents:
- 219c2a3ea81917d4c80814dce2c58f85dbcf2cf9
- git-committer:
- root <root@localhost.localdomain> / 2009-11-23T22:04:05Z+0100
- Message:
-
memory: Commenting workaround
Impact: none
HDT is using a memory detection code which duplicates some syslinux
code. Once addr_t will be moved into 64bit, this can be removed by using
syslinux_scan_memory().
- Location:
- com32
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rd7ddef
|
rd8cf54
|
|
| 44 | 44 | int detect_memory_e801(int*, int*); |
| 45 | 45 | int detect_memory_88(int*); |
| | 46 | |
| | 47 | /* The following stuff could be merge once the addr_t will be set to 64bits. |
| | 48 | * syslinux_scan_memory can be used for that purpose */ |
| 46 | 49 | unsigned long memsize_e820(struct e820entry *e820, int e820_nr); |
| 47 | 50 | int sanitize_e820_map(struct e820entry *orig_map, struct e820entry *new_bios, short old_nr); |
-
|
rd7ddef
|
rd8cf54
|
|
| 223 | 223 | * Some e820 responses include overlapping entries. The following |
| 224 | 224 | * replaces the original e820 map with a new one, removing overlaps. |
| 225 | | * |
| | 225 | * |
| | 226 | * The following stuff could be merge once the addr_t will be set to 64bits. |
| | 227 | * syslinux_scan_memory can be used for that purpose |
| 226 | 228 | */ |
| 227 | 229 | int sanitize_e820_map(struct e820entry *orig_map, struct e820entry *new_bios, |
| … |
… |
|
| 376 | 378 | } |
| 377 | 379 | |
| | 380 | /* The following stuff could be merge once the addr_t will be set to 64bits. |
| | 381 | * syslinux_scan_memory can be used for that purpose */ |
| 378 | 382 | unsigned long detect_memsize(void) { |
| 379 | 383 | unsigned long memory_size=0; |
| … |
… |
|
| 400 | 404 | } |
| 401 | 405 | |
| | 406 | /* The following stuff could be merge once the addr_t will be set to 64bits. |
| | 407 | * syslinux_scan_memory can be used for that purpose */ |
| 402 | 408 | unsigned long memsize_e820(struct e820entry *e820, int e820_nr) { |
| 403 | 409 | int i, n, nr; |