/***************************************************************************/ /* Copyright (c) 2024 Microsoft Corporation */ /* Copyright (c) 2026 Eclipse ThreadX contributors */ /* */ /* This program and the accompanying materials are made available under */ /* the terms of the MIT License which is available at */ /* https://opensource.org/licenses/MIT. */ /* */ /* SPDX-License-Identifier: MIT */ /***************************************************************************/ #include "plic.h" #include "hwtimer.h" #include "uart.h" #include #include void *memset(const void *des, int c,size_t n) { if((des == NULL) || n <=0) return (void*)des; char* t = (char*)des; int i; for(i=0;i