2018-08-14 07:09:43 UTC
I am learning these code, and now have 2 questions:
1. at the bottom of relocator_common.S, there is:
/* Jump location. Is filled by the code */
Since it is offset & segment selector value, why is not ".word
CODE_SEGMENT", is there any subtle difference?
2. in relocator16.S, after "RELOAD_GDT", the other segment registers are
updated two times with DATA_SEGMENT & PSEUDO_REAL_DSEG, they are pretty
close, there is no memory read/write between them, so why we need the
updates with DATA_SEGMENT?