* BFS now always writes back the whole block when it writes the super block.

* Therefore, I've added an I/O control that let's it update the boot block
  part of this block, so that makebootable can use it on a mounted volume
  (this will probably be moved into a disk system API later).
* Added user_memcpy() to the fs_shell.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23082 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-12-08 14:23:35 +00:00
parent 477d25de35
commit 21885de266
7 changed files with 71 additions and 48 deletions
@@ -10,15 +10,18 @@
extern "C" {
#endif
/*-------------------------------------------------------------*/
/* kernel threads */
extern fssh_thread_id fssh_spawn_kernel_thread(fssh_thread_func function,
const char *threadName, int32_t priority,
void *arg);
/* misc */
extern fssh_status_t fssh_user_memcpy(void *dest, const void *source,
fssh_size_t length);
/*-------------------------------------------------------------*/
/* primitive kernel debugging facilities */
extern void fssh_dprintf(const char *format, ...) /* just like printf */