fix on 32-bit
This commit is contained in:
parent
9ebc058188
commit
0068e8da25
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ struct msh_linux_block_t {
|
||||||
msh_linux_block *next;
|
msh_linux_block *next;
|
||||||
unsigned char free;
|
unsigned char free;
|
||||||
};
|
};
|
||||||
#define MSH_BLOCK_SIZE 21
|
#define MSH_BLOCK_SIZE sizeof(struct msh_linux_block_t)
|
||||||
|
|
||||||
static msh_linux_block *msh_linux_base = 0;
|
static msh_linux_block *msh_linux_base = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
.globl syscall_6
|
.globl syscall_6
|
||||||
syscall_0:
|
syscall_0:
|
||||||
push %ebx
|
push %ebx
|
||||||
mov 0x4(%esp), %eax
|
mov 0x8(%esp), %eax
|
||||||
int $0x80
|
int $0x80
|
||||||
pop %ebx
|
pop %ebx
|
||||||
ret
|
ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue