Ok, I like this idea. I think I understand most of the above and am
willing to try hacking it into my kernel sources, but I am not clear
on two things:
1) If I reallocate space for the I/O bitmap, how would I do this? Is
there a krealloc() function or something to enlarge the size of a
kernel memory object? Or would I simply alloc a new one (do I use
malloc or something else?) for the larger size, copy the old TSS
to it, and free the old one? Or can I simply allocate an 8Kb
block for the new I/O bitmap and simply point the TSS at it (but
then I would need to free it later right?).
2) Once I have enlarged the memory block if the TSS has moved to a
new location how do I then inform the kernel that the TSS has
moved so it knows about it?
3) I understand the need to cause a task switch, but how would I
accomplish this?
Regards,
+--------------------------------------------------------------------------+
| SciTech Software - Building Truly Plug'n'Play Software! |
+--------------------------------------------------------------------------+
| Kendall Bennett | Email: KendallB@scitechsoft.com |
| Director of Engineering | Phone: (530) 894 8400 |
| SciTech Software, Inc. | Fax : (530) 894 9069 |
| 505 Wall Street | ftp : ftp.scitechsoft.com |
| Chico, CA 95928, USA | www : http://www.scitechsoft.com |
+--------------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html