From: Luke Kenneth Casson Leighton Date: Sun, 10 Apr 2022 16:30:04 +0000 (+0100) Subject: attempting to sort out what looks like a stack overflow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5d8c74be474364d884a842e2466a2328044f253;p=ls2.git attempting to sort out what looks like a stack overflow --- diff --git a/coldboot/coldboot.c b/coldboot/coldboot.c index 0f42a82..bd030c4 100644 --- a/coldboot/coldboot.c +++ b/coldboot/coldboot.c @@ -35,15 +35,6 @@ struct uart_regs { uint32_t ev_enable; }; -void memcpy(void *dest, void *src, size_t n) { - int i; - //cast src and dest to char* - char *src_char = (char *)src; - char *dest_char = (char *)dest; - for (i=0; i