search for: cptr_size

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

Did you mean: ptr_size
2009 Mar 31
1
[PATCH 1/1] CORE/cache: add cache priority parameter
...and dx,dx ; Set ZF + jz .hit_no_lru + ; Remove from current position in the list mov bx,[si+cptr.prev] mov di,[si+cptr.next] @@ -95,6 +101,8 @@ getcachesector: mov [CachePtrs+cptr.prev],si mov word [si+cptr.next],CachePtrs +.hit_no_lru: + and ax,ax ; Clear ZF sub si,CachePtrs+cptr_size shl si,SECTOR_SHIFT-cptr_size_lg2 ; Buffer address diff --git a/core/extlinux.asm b/core/extlinux.asm index 9684c8a..59d460d 100644 --- a/core/extlinux.asm +++ b/core/extlinux.asm @@ -966,7 +966,10 @@ open_inode: add eax,edx pop edx and dx,SECTOR_SIZE-1 + push dx + mov dx,1 call g...