Kernel: allocate thread stacks from 0x300000 onwards
I had a problem where thread stack was overlapping with elf loading
This commit is contained in:
		
							parent
							
								
									58ec4d6a31
								
							
						
					
					
						commit
						7aeb8e4d36
					
				|  | @ -21,7 +21,7 @@ namespace Kernel | |||
| 
 | ||||
| 		if (vaddr == 0) | ||||
| 		{ | ||||
| 			vaddr = page_table.get_free_contiguous_pages(size / PAGE_SIZE, 0x400000); | ||||
| 			vaddr = page_table.get_free_contiguous_pages(size / PAGE_SIZE, 0x300000); | ||||
| 			ASSERT(vaddr); | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue