@@ -783,18 +783,19 @@ exit_uefi_services:
783783 ;; | start16 | code | data | 00..0 | code | data | kernel | mods user |
784784 ;; | | low | low | 00..0 | hi | hi | .bin | land.bin |
785785 ;; +---------------------------------------------+--------------------+
786- ;; | 0x2800 --------------------->|0x2000 |
787- ;; |< 240KiB -------------------------------------------- ------------>|
788- ;; |< 0x200 >|0x200 |0x100 | |< ----------- 238KiB -- ----------->|
789- ;; |< 0x800 ---------------------->| |
786+ ;; |< 0x200 >|0x200 |0x100 | |0x2000|0x1000|< ----- 226KiB -----> |
787+ ;; |<-- 0x600 --->|< ------------ 238KiB ------------>|
788+ ;; |<----------- 0x800 ----------->|
789+ ;; |<---------------------------- 240KiB ----------------------------> |
790790 ;; |^ |^ |^
791791 ;; 0x404000 0x404800 0x440000
792792 ;; PAYLOAD
793793
794- ;; Low primeros TSL_LO_SIZE bytes de los 240 del payload.
795- mov rsi , PAYLOAD + START16_SIZE ;; The additional bytes are to skip start16, whi
796- ;; ch is placed to completely fill the 1st 512 bytes
797- ;; of the payload.
794+ ;; Saltea el codigo de start16 y se queda con los primeros TSL_LO_SIZE bytes
795+ ;; de los 240 del payload.
796+ mov rsi , PAYLOAD + START16_SIZE ;; The additional START16_SIZE offset bytes
797+ ;; are to skip start16, which is positioned
798+ ;; as the 1st 512 bytes of the payload.
798799
799800 mov rdi , TSL_BASE_ADDRESS_LOW
800801 mov rcx , TSL_LO_SIZE ;; Bytes a partir de TSL_BASE_ADDRESS_LOW.
0 commit comments