search for: initcache

Displaying 1 result from an estimated 1 matches for "initcache".

Did you mean: infcache
2009 Mar 31
1
[PATCH 1/1] CORE/cache: add cache priority parameter
...is patch allows functions to request a sector as cache but it will only be available as cached until a cache miss. Inspired by a discussion in the last few days. diff --git a/core/cache.inc b/core/cache.inc index 5975557..b8eda9f 100644 --- a/core/cache.inc +++ b/core/cache.inc @@ -43,6 +43,8 @@ initcache: ; and if it is already there, return a pointer in GS:SI ; otherwise load it and return said pointer. ; +; DX Cache priority; 0 -> store as least recently used +; ; Assumes CS == DS. ; getcachesector: @@ -82,6 +84,10 @@ getcachesector: ; Update LRU, then compute buffer address...