Changeset 8a1afd2 in mainline for kernel/arch/ia32/src/boot/multiboot.S
- Timestamp:
- 2018-10-17T22:51:33Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d18bbc0, d723a80
- Parents:
- 7900e5d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/multiboot.S
r7900e5d r8a1afd2 285 285 /** Calculate unmapped address of the end of the kernel. */ 286 286 calc_kernel_end: 287 movl $KA2PA(hardcoded_load_address), %edi 288 movl (%edi), %esi 289 leal KA2PA(0)(%esi), %esi 290 291 movl $KA2PA(hardcoded_ktext_size), %edi 292 addl (%edi), %esi 293 leal KA2PA(0)(%esi), %esi 294 295 movl $KA2PA(hardcoded_kdata_size), %edi 296 addl (%edi), %esi 297 leal KA2PA(0)(%esi), %esi 298 movl %esi, kernel_end 299 287 movl $KA2PA(kdata_end), %edi 288 movl %edi, kernel_end 300 289 ret 301 290
Note:
See TracChangeset
for help on using the changeset viewer.