Changeset 63566 in vbox for trunk/src/VBox/Additions/haiku/SharedFolders
- Timestamp:
- Aug 16, 2016 2:05:58 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110221
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/haiku/SharedFolders/vboxsf.c
r62526 r63566 57 57 { 58 58 #if 0 59 /* @todo enable this soon */59 /** @todo enable this soon */ 60 60 int rc = get_module(VBOXGUEST_MODULE_NAME, (module_info **)&g_VBoxGuest); 61 61 if (RT_LIKELY(rc == B_OK) … … 766 766 767 767 uint32_t l = *length; 768 void* other_buffer = malloc(l); /* @todo map the user memory into kernel space here for efficiency */768 void* other_buffer = malloc(l); /** @todo map the user memory into kernel space here for efficiency */ 769 769 int rc = VbglR0SfRead(&g_clientHandle, &volume->map, cookie->handle, pos, &l, other_buffer, false /*fLocked*/); 770 770 memcpy(buffer, other_buffer, l); … … 787 787 788 788 uint32_t l = *length; 789 void* other_buffer = malloc(l); /* @todo map the user memory into kernel space here for efficiency */789 void* other_buffer = malloc(l); /** @todo map the user memory into kernel space here for efficiency */ 790 790 memcpy(other_buffer, buffer, l); 791 791 int rc = VbglR0SfWrite(&g_clientHandle, &volume->map, cookie->handle, pos, &l, other_buffer, false /*fLocked*/); … … 899 899 900 900 901 /* @todo move this into the runtime */901 /** @todo move this into the runtime */ 902 902 status_t vbox_err_to_haiku_err(int rc) 903 903 {
Note:
See TracChangeset
for help on using the changeset viewer.