prevents limit register from changing my specified values
This commit is contained in:
parent
159cf7f84e
commit
f3d607859c
@ -13,7 +13,7 @@ node *create_node( u32 base_register, u32 limit_register, bool ft_hole_mem, u32
|
|||||||
new_node = (node *) kmalloc( NODE_SIZE, 0, (u32 *) new_node);
|
new_node = (node *) kmalloc( NODE_SIZE, 0, (u32 *) new_node);
|
||||||
new_node->id = id;
|
new_node->id = id;
|
||||||
new_node->base_register = base_register;
|
new_node->base_register = base_register;
|
||||||
new_node->limit_register = limit_register * (new_node->id + 1);
|
new_node->limit_register = limit_register;
|
||||||
new_node->ft_hole_mem = ft_hole_mem;
|
new_node->ft_hole_mem = ft_hole_mem;
|
||||||
new_node->next = NULL;
|
new_node->next = NULL;
|
||||||
new_node->previous = NULL;
|
new_node->previous = NULL;
|
||||||
|
Reference in New Issue
Block a user