littlekernel / lk

LK embedded kernel
MIT License
3.14k stars 615 forks source link

[arch][x86] bug fix in TSS descriptor base address #205

Closed AjanZhong closed 6 years ago

AjanZhong commented 6 years ago

In 64-bit mode, the TSS descriptor is expanded to 16 bytes. Currently, high 32-bit of TSS base address is set to be zero. Updte descriptor structure definition, add high 32-bit high adress and reserved bit.

Signed-off-by: Zhong,Fangjian fangjian.zhong@intel.com