|
@@ -320,7 +320,8 @@ pmm_scan:
|
320
|
320
|
/* We have PMM and so a 1kB stack: preserve whole registers */
|
321
|
321
|
pushal
|
322
|
322
|
/* Allocate image source PMM block */
|
323
|
|
- movzwl image_source_len_pgh, %ecx
|
|
323
|
+ movzwl image_source_size, %ecx
|
|
324
|
+ shll $5, %ecx
|
324
|
325
|
movl $PMM_HANDLE_BASE_IMAGE_SOURCE, %ebx
|
325
|
326
|
movw $get_pmm_image_source, %bp
|
326
|
327
|
call get_pmm
|
|
@@ -565,16 +566,16 @@ image_source:
|
565
|
566
|
.long 0
|
566
|
567
|
.size image_source, . - image_source
|
567
|
568
|
|
568
|
|
-/* Image source area length (in paragraphs)
|
|
569
|
+/* Image source size (in 512-byte sectors)
|
569
|
570
|
*
|
570
|
571
|
*/
|
571
|
|
-image_source_len_pgh:
|
|
572
|
+image_source_size:
|
572
|
573
|
.word 0
|
573
|
|
- .size image_source_len_pgh, . - image_source_len_pgh
|
|
574
|
+ .size image_source_size, . - image_source_size
|
574
|
575
|
.section ".zinfo.fixup", "a", @progbits /* Compressor fixups */
|
575
|
576
|
.ascii "ADDW"
|
576
|
|
- .long image_source_len_pgh
|
577
|
|
- .long 16
|
|
577
|
+ .long image_source_size
|
|
578
|
+ .long 512
|
578
|
579
|
.long 0
|
579
|
580
|
.previous
|
580
|
581
|
|