Subversion Repositories Kolibri OS

Rev

Rev 2122 | Rev 2455 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2122 Rev 2140
Line 51... Line 51...
51
; int flush(void* userdata);
51
; int flush(void* userdata);
52
; Optional.
52
; Optional.
53
; Flushes the hardware cache, if it exists. Note that a driver should not
53
; Flushes the hardware cache, if it exists. Note that a driver should not
54
; implement a software cache for read/write, since they are called from the
54
; implement a software cache for read/write, since they are called from the
55
; kernel cache manager.
55
; kernel cache manager.
-
 
56
  .adjust_cache_size dd ?
-
 
57
; unsigned int adjust_cache_size(unsigned int suggested_size);
-
 
58
; Optional.
-
 
59
; Returns the cache size for this device in bytes. 0 = disable cache.
56
}
60
}
57
struc DISKMEDIAINFO
61
struc DISKMEDIAINFO
58
{
62
{
59
  .flags      dd ?
63
  .flags      dd ?
60
DISK_MEDIA_READONLY = 1
64
DISK_MEDIA_READONLY = 1