/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_kernel_panic.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: joelecle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 17:06:40 by joelecle #+# #+# */ /* Updated: 2020/02/14 17:06:40 by joelecle ### ########lyon.fr */ /* */ /* ************************************************************************** */ #include #include void ft_kernel_panic(void) { int *ptr; while (1) ptr = (int *)ft_calloc((1024 * 1024) * sizeof(int), 1); free(ptr); }