Skip to content

Commit bf1895b

Browse files
committed
Fix partition table
1 parent eb6d71f commit bf1895b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

bios/boot_sector/16-bit-linker.ld

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,18 @@ SECTIONS {
3030
. = 0x7c00 + 446;
3131
.partition_table :
3232
{
33-
SHORT(0x0000) /* partition table entry 0 */
34-
SHORT(0x0000) /* partition table entry 1 */
35-
SHORT(0x0000) /* partition table entry 2 */
36-
SHORT(0x0000) /* partition table entry 3 */
33+
/* partition table entry 0 */
34+
QUAD(0)
35+
QUAD(0)
36+
/* partition table entry 1 */
37+
QUAD(0)
38+
QUAD(0)
39+
/* partition table entry 2 */
40+
QUAD(0)
41+
QUAD(0)
42+
/* partition table entry 3 */
43+
QUAD(0)
44+
QUAD(0)
3745
}
3846

3947
. = 0x7c00 + 510;

0 commit comments

Comments
 (0)