summaryrefslogtreecommitdiff
path: root/core/ldlinux.asm
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-06-03 04:42:41 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-06-03 04:42:41 +0800
commitd0ce3937b75d491777e2c1f57ba0eaa20176b9f3 (patch)
tree3d1bd7bcac1c15db4a79abc6b703c9ab00e6a3d0 /core/ldlinux.asm
parent5e45fe5a4284dd362bbccd71bebaa3838d77591b (diff)
downloadsyslinux-d0ce3937b75d491777e2c1f57ba0eaa20176b9f3.tar.gz
Successed in converting the cache code to C
It works well for extlinux(seems broken with ldlinux). With the printf function can not work well in the format string, like %d, I introduced a new function itoa(), that convert the number to string, for debugging.
Diffstat (limited to 'core/ldlinux.asm')
-rw-r--r--core/ldlinux.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ldlinux.asm b/core/ldlinux.asm
index 45110091..34eec933 100644
--- a/core/ldlinux.asm
+++ b/core/ldlinux.asm
@@ -211,7 +211,7 @@ getfattype:
;
; Initialize the metadata cache
;
- mov eax, [ClustSize]
+ mov eax, 9
pm_call cache_init
;