aboutsummaryrefslogtreecommitdiffstats
path: root/cache.inc
diff options
context:
space:
mode:
Diffstat (limited to 'cache.inc')
-rw-r--r--cache.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.inc b/cache.inc
index 95c5f48e..47d815f6 100644
--- a/cache.inc
+++ b/cache.inc
@@ -33,6 +33,7 @@ initcache:
mov [di+cptr.sector],eax ; Zero sector number
mov [di+cptr.prev],bx ; Previous pointer
mov [bx+cptr.next],di ; Previous entry's next pointer
+ mov bx,di
add di,cptr_size
loop .loop
ret