~shrik3/rustubs#6: 
gdt should use virtual address

gdt reserved in asm startup code is mapped to low physical address. This is still usable in the higher half kernel because we still have the provisional id mapping. As soon as this mapping is removed (because low address belongs to userspace), the gdt will become unavailable and trigger page faults ... meh. We move the gdt to higher memory (by creating another mapping in the kernel VMAs).

Status
RESOLVED CLOSED
Submitter
~shrik3
Assigned to
No-one
Submitted
11 months ago
Updated
11 months ago
Labels
No labels applied.

~shrik3 REPORTED CLOSED 11 months ago

Register here or Log in to comment, or comment via email.