You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now TaskStateSegment::new() initializes iomap_base to 0. This is wrong if we want a "new" TSS to represent one without an IO Map, as this causes the TSS itself to be interpreted as an IO map.
Initializing it to size_of::<TaskStateSegment>(), seems more correct. When creating a segment with tss_segment, this would make it so there is actually not an IO map.
Right now
TaskStateSegment::new()
initializesiomap_base
to 0. This is wrong if we want a "new" TSS to represent one without an IO Map, as this causes the TSS itself to be interpreted as an IO map.Initializing it to
size_of::<TaskStateSegment>()
, seems more correct. When creating a segment withtss_segment
, this would make it so there is actually not an IO map.Discovered when reviewing #194
The text was updated successfully, but these errors were encountered: