docs: Fix adjust_cache_size prototype: it takes userdata too.
git-svn-id: svn://kolibrios.org@7727 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d8113abd2e
commit
41d12fe88a
|
@ -82,7 +82,7 @@ struct DISKFUNC
|
||||||
adjust_cache_size dd ?
|
adjust_cache_size dd ?
|
||||||
; The pointer to the function which returns the cache size for this device.
|
; The pointer to the function which returns the cache size for this device.
|
||||||
; Optional, may be NULL.
|
; Optional, may be NULL.
|
||||||
; unsigned int adjust_cache_size(unsigned int suggested_size);
|
; unsigned int adjust_cache_size(void* userdata, unsigned int suggested_size);
|
||||||
; Return value: 0 = disable cache, otherwise = used cache size in bytes.
|
; Return value: 0 = disable cache, otherwise = used cache size in bytes.
|
||||||
ends
|
ends
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ struc DISKFUNC
|
||||||
; implement a software cache for read/write, since they are called from the
|
; implement a software cache for read/write, since they are called from the
|
||||||
; kernel cache manager.
|
; kernel cache manager.
|
||||||
.adjust_cache_size dd ?
|
.adjust_cache_size dd ?
|
||||||
; unsigned int adjust_cache_size(unsigned int suggested_size);
|
; unsigned int adjust_cache_size(void* userdata, unsigned int suggested_size);
|
||||||
; Optional.
|
; Optional.
|
||||||
; Returns the cache size for this device in bytes. 0 = disable cache.
|
; Returns the cache size for this device in bytes. 0 = disable cache.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue