Preparation for suppurting multiple read/write request in Character driver.
Also resolving compilation errors with 64bit host systems.