Subversion Repositories Kolibri OS

Rev

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

Rev 7546 Rev 7727
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2011-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 7546 $
8
$Revision: 7727 $
9
 
9
 
10
; =============================================================================
10
; =============================================================================
11
; ================================= Constants =================================
11
; ================================= Constants =================================
Line 80... Line 80...
80
; create a software cache. This function is implemented for flushing a hardware
80
; create a software cache. This function is implemented for flushing a hardware
81
; cache, if it exists.
81
; cache, if it exists.
82
        adjust_cache_size       dd ?
82
        adjust_cache_size       dd ?
83
; The pointer to the function which returns the cache size for this device.
83
; The pointer to the function which returns the cache size for this device.
84
; Optional, may be NULL.
84
; Optional, may be NULL.
85
; unsigned int adjust_cache_size(unsigned int suggested_size);
85
; unsigned int adjust_cache_size(void* userdata, unsigned int suggested_size);
86
; Return value: 0 = disable cache, otherwise = used cache size in bytes.
86
; Return value: 0 = disable cache, otherwise = used cache size in bytes.
87
ends
87
ends
Line 88... Line 88...
88
 
88
 
89
; This structure holds information on a medium.
89
; This structure holds information on a medium.