Rev 4287 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4287 | Rev 5201 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;; RAMDISK functions ;; |
6 | ;; RAMDISK functions ;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
7 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | $Revision: 4287 $ |
9 | $Revision: 5201 $ |
10 | 10 | ||
11 | iglobal |
11 | iglobal |
12 | align 4 |
12 | align 4 |
Line 20... | Line 20... | ||
20 | dd 0 ; no flush() function |
20 | dd 0 ; no flush() function |
21 | dd ramdisk_adjust_cache_size |
21 | dd ramdisk_adjust_cache_size |
22 | .size = $ - ramdisk_functions |
22 | .size = $ - ramdisk_functions |
23 | endg |
23 | endg |
Line 24... | Line -... | ||
24 | - | ||
25 | ; See memmap.inc. |
- | |
26 | ; Currently size of memory allocated for the ramdisk is fixed. |
- | |
27 | ; This should be revisited when/if memory map would become more dynamic. |
- | |
28 | RAMDISK_CAPACITY = 2880 ; in sectors |
- | |
29 | 24 | ||
30 | iglobal |
25 | iglobal |
31 | align 4 |
26 | align 4 |
32 | ramdisk_actual_size dd RAMDISK_CAPACITY |
27 | ramdisk_actual_size dd RAMDISK_CAPACITY |