Re: questions about relocator16.S

2018-08-14 Thread Vladimir 'phcoder' Serbinenko
вт, 14 авг. 2018 г., 9:11 Cao jin : > Hi, > > I am learning these code, and now have 2 questions: > > 1. at the bottom of relocator_common.S, there is: > > LOCAL(jump_vector): > /* Jump location. Is filled by the code */ > .long 0 > .long CODE_SEGMENT > > Since it is

questions about relocator16.S

2018-08-14 Thread Cao jin
Hi, I am learning these code, and now have 2 questions: 1. at the bottom of relocator_common.S, there is: LOCAL(jump_vector): /* Jump location. Is filled by the code */ .long 0 .long CODE_SEGMENT Since it is offset & segment selector value, why is not ".word CODE_S

[PATCH] relocator16.S: comments update

2018-08-14 Thread Cao jin
Signed-off-by: Cao jin --- grub-core/lib/i386/relocator16.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/grub-core/lib/i386/relocator16.S b/grub-core/lib/i386/relocator16.S index c8d6f86d8..a8b48d2c4 100644 --- a/grub-core/lib/i386/relocator16.S +++ b/grub-core/lib/i3