Changeset d8cf54da28e566e73809d772a65b8a1cb1b81f9c

Show
Ignore:
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:
2 modified

Legend:

Unmodified
Added
Removed
  • com32/gplinclude/memory.h

    rd7ddef rd8cf54  
    4444int detect_memory_e801(int*, int*); 
    4545int 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 */ 
    4649unsigned long memsize_e820(struct e820entry *e820, int e820_nr); 
    4750int sanitize_e820_map(struct e820entry *orig_map, struct e820entry *new_bios, short old_nr); 
  • com32/gpllib/memory.c

    rd7ddef rd8cf54  
    223223 * Some e820 responses include overlapping entries.  The following  
    224224 * 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  
    226228 */ 
    227229int sanitize_e820_map(struct e820entry *orig_map, struct e820entry *new_bios, 
     
    376378} 
    377379 
     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 */ 
    378382unsigned long detect_memsize(void) { 
    379383        unsigned long memory_size=0; 
     
    400404} 
    401405 
     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 */ 
    402408unsigned long memsize_e820(struct e820entry *e820, int e820_nr) { 
    403409        int i, n, nr;