Skip to content

Commit

Permalink
kernel.{amd64,ia32}.ld: remove obsolete declaration
Browse files Browse the repository at this point in the history
In commit 34495c2eaebea1327ba00449092f5d0a8e78c709 these values were
changed and the comment does not apply anymore.

Removing these comments also fixes a Clang warning about using '/*'
within a comment.

Change-Id: I521ab43ecaf405b9dcfcb905e3673abe58058fee
  • Loading branch information
Frank Mehnert authored and kk-infra committed Jun 19, 2024
1 parent 3e6ea05 commit da3325d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/kernel.amd64.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
_boot_sys_start = 0x300000;
_kernel_image = FIASCO_IMAGE_VIRT_START; /* kernel link address */
_load = FIASCO_IMAGE_PHYS_START & 0x1fffff;
/*
_load = 0x1000; /* skip page 0 to preserve BIOS data and
* page 1 to reserve space for the KIP */

/*_fiasco_image_offset = 0xf0000000;*/
_fiasco_image_offset = FIASCO_IMAGE_PHYS_OFFSET;

OUTPUT_FORMAT("elf64-x86-64")
Expand Down
5 changes: 0 additions & 5 deletions src/kernel.ia32.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
_boot_sys_start = 0x300000;
_kernel_image = FIASCO_IMAGE_VIRT_START; /* kernel link address */
_load = FIASCO_IMAGE_PHYS_START & 0x3fffff;
/*
_load = 0x1000; /* skip page 0 to preserve BIOS data and
* page 1 to reserve space for the KIP */

/*_fiasco_image_offset = 0xf0000000;*/
_fiasco_image_offset = FIASCO_IMAGE_PHYS_OFFSET;

ENTRY(bootstrap__boot_start)
Expand Down

0 comments on commit da3325d

Please sign in to comment.