Re: Long Mode, Documentation and more Questions
Posted: Tue Jan 31, 2012 2:13 pm
Hi,
If it's only once, do it at boot time before switching to long mode in the first place. If not (OP mentions BIOS functions in point 4), then the best (safest) option for multiple calls from long mode surely has to be emulation as a user mode task? Hopefully this is a short-term hack anyway, until the OP gets drivers to replace the need for BIOS calls.
The points that you still get memory protection and paging with v86 still stand.
Cheers,
Adam
If it's only once, do it at boot time before switching to long mode in the first place. If not (OP mentions BIOS functions in point 4), then the best (safest) option for multiple calls from long mode surely has to be emulation as a user mode task? Hopefully this is a short-term hack anyway, until the OP gets drivers to replace the need for BIOS calls.
The points that you still get memory protection and paging with v86 still stand.
Cheers,
Adam