Commit 1a2af2cb authored by Jeremy Soller's avatar Jeremy Soller

Set REDOXFS_BLOCK variable

parent ad8f6a97
......@@ -72,11 +72,15 @@ redoxfs:
times BLOCK_SIZE db 0
db "0000000000000000"
db `\n`
db "00000000-0000-0000-0000-000000000000"
db 0
mov eax, 0
......@@ -107,6 +111,22 @@
mov al, ' '
call print_char
mov ebx, (filesystem - boot)/BLOCK_SIZE
mov di, redoxfs.env.block_end - 1
mov al, bl
and al, 0x0F
cmp al, 0x0A
jb .block.below_0xA
add al, 'A' - 0xA - '0'
add al, '0'
mov [di], al
dec di
shr ebx, 4
test ebx, ebx
jnz .block
mov di, redoxfs.env.uuid
xor si, si
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment