Doubt in initcode.s and entryother.s

37 views
Skip to first unread message

san k p

unread,
May 4, 2021, 8:20:47 AM5/4/21
to Discussion forum for Operating System

Hello Dr Bansal and Course staff,

I doubt is regarding creation of _binary_initcode_start, _binary_initcode_size, _binary_entryother_start and _binary_entryother_size.

It seems that _binary_initcode_start should be the an array containing hex code of compiled initcode.s

Similarly I guess _binary_entryother_start should be the an array containing hex code of compiled entryother.s

From the Makefile,
Line 120: $(OBJCOPY) -S -O binary initcode.out initcode creates the hex array file initcode
and
Line 114:    $(OBJCOPY) -S -O binary -j .text bootblockother.o entryother creates the hex array file entryother

What I am not able to figure out is where are _binary_initcode_start and _binary_entryother_start arrays created from initcode and entryother files respectively ?

Sincerely,
Santosh K P
Reply all
Reply to author
Forward
0 new messages