Chameleon

Chameleon Commit Details

Date:2010-07-20 12:57:38 (9 years 2 months ago)
Author:Tamás Kosárszky
Commit:186
Parents: 185
Message:Increased boot2's maximum size from 383.5k to 447.5k. Updated stage 1 loaders for handling the new size limit. Fixed typo in smbios_patcher.
Changes:
M/trunk/i386/boot1/boot1f32.s
M/trunk/i386/cdboot/cdboot.s
M/trunk/i386/libsaio/smbios_patcher.c
M/trunk/i386/boot1/boot1he.s
M/trunk/i386/boot1/boot1.s
M/trunk/CHANGES
M/trunk/i386/boot2/Makefile

File differences

trunk/CHANGES
1
2
13
24
35
- Increased boot2's maximum size from 383.5k to 447.5k.
Updated stage 1 loaders for handling the new size limit.
- Added alternate format for setting the default partition. The user can specify the selected
volume UUID for the "Default Partition" key.
- Implemented SPD memory automatic detection and injection,seems to work really great ...
trunk/i386/libsaio/smbios_patcher.c
777777
778778
779779
780
780
781781
782782
783783
DmiTablePairCount++;
}
else {
printf("DMI table entries list is full! next entries won't be stored\n");
printf("DMI table entries list is full! Next entries won't be stored\n");
}
#if DEBUG_SMBIOS
printf("DMI header found for table type %d, length = %d\n", dmihdr->type, dmihdr->length);
trunk/i386/boot1/boot1f32.s
7575
7676
7777
78
78
7979
8080
8181
kBoot1LoadAddrEQU0x7C00; boot1 load address
kBoot1RelocAddrEQU0xE000; boot1 relocated address
kBoot2SectorsEQU(384 * 1024 - 512) / kSectorBytes; max size of 'boot' file in sectors
kBoot2SectorsEQU(448 * 1024 - 512) / kSectorBytes; max size of 'boot' file in sectors
kBoot2SegmentEQU0x2000; boot2 load segment
kBoot2AddressEQUkSectorBytes; boot2 load address
trunk/i386/boot1/boot1he.s
7979
8080
8181
82
82
8383
8484
8585
kBoot1ExtAddrEQUkBoot1RelocAddr + kSectorBytes; boot1 load address for sector 41-47
kHFSPlusBufferEQUkBoot1RelocAddr + kBoot1ExtSize; HFS+ Volume Header address
kBoot2SectorsEQU(384 * 1024 - 512) / kSectorBytes; max size of 'boot' file in sectors
kBoot2SectorsEQU(448 * 1024 - 512) / kSectorBytes; max size of 'boot' file in sectors
kBoot2SegmentEQU0x2000; boot2 load segment
kBoot2AddressEQUkSectorBytes; boot2 load address
trunk/i386/boot1/boot1.s
7474
7575
7676
77
77
7878
7979
8080
kBoot1Sector1AddrEQUkBoot1RelocAddr + kSectorBytes; boot1 load address for sector 1
kHFSPlusBufferEQUkBoot1Sector1Addr + kSectorBytes; HFS+ Volume Header address
kBoot2SectorsEQU(384 * 1024 - 512) / kSectorBytes; max size of 'boot' file in sectors
kBoot2SectorsEQU(448 * 1024 - 512) / kSectorBytes; max size of 'boot' file in sectors
kBoot2SegmentEQU0x2000; boot2 load segment
kBoot2AddressEQUkSectorBytes; boot2 load address
trunk/i386/boot2/Makefile
5454
5555
5656
57
57
5858
5959
6060
$(HFILES) $(OTHERFILES)
DIRS_NEEDED = $(OBJROOT) $(SYMROOT)
BOOT2ADDR = 20200
MAXBOOTSIZE = 392704
MAXBOOTSIZE = 458240
all: $(DIRS_NEEDED) boot
trunk/i386/cdboot/cdboot.s
114114
115115
116116
117
117
118118
119119
120120
; at build time.
kSectorBytes EQU 2048; sector size in bytes
kBoot2Size EQU 65024; default load size for boot2
kBoot2MaxSize EQU 392704; max size for boot2
kBoot2MaxSize EQU 458240; max size for boot2
kBoot2Address EQU 0x0200 ; boot2 load address
kBoot2Segment EQU 0x2000 ; boot2 load segment

Archive Download the corresponding diff file

Revision: 186