修改作者信息为ATShining(匿名)

This commit is contained in:
zhangzheng
2023-12-02 10:16:14 +08:00
parent 6f618a296f
commit 0168a8ae76
61 changed files with 78 additions and 74 deletions

View File

@@ -1,6 +1,6 @@
/**
* @file arch.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-25

View File

@@ -1,7 +1,7 @@
/*
* mpu.c
*
* Created on: zhangzheng
* Created on: ATShining
* Author: Administrator
*/

View File

@@ -1,6 +1,6 @@
/**
* @file arch.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-10-04

View File

@@ -1,6 +1,6 @@
/**
* @file globals.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-19

View File

@@ -1,6 +1,6 @@
/**
* @file log.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-16

View File

@@ -1,6 +1,6 @@
/**
* @file prot.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-16

View File

@@ -1,7 +1,7 @@
/*
* @Author: zhangzheng 1358745329@qq.com
* @Author: ATShining 1358745329@qq.com
* @Date: 2023-08-18 15:03:16
* @LastEditors: zhangzheng 1358745329@qq.com
* @LastEditors: ATShining 1358745329@qq.com
* @LastEditTime: 2023-08-18 15:50:15
* @FilePath: /mkrtos-real/mkrtos_knl/inc/knl/scheduler.h
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

View File

@@ -1,6 +1,6 @@
/**
* @file thread.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-14

View File

@@ -1,7 +1,7 @@
/*
* @Author: zhangzheng 1358745329@qq.com
* @Author: ATShining 1358745329@qq.com
* @Date: 2023-08-14 09:47:54
* @LastEditors: zhangzheng 1358745329@qq.com
* @LastEditors: ATShining 1358745329@qq.com
* @LastEditTime: 2023-08-14 13:19:14
* @FilePath: /mkrtos-real/mkrtos_knl/inc/lib/assert.h
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE

View File

@@ -1,6 +1,6 @@
/**
* @file app.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file cpulock.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file factory.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file futex.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief futex在内核中实现
* @note TODO: 可以使用hashmap优化
* @version 0.1

View File

@@ -1,6 +1,6 @@
/**
* @file globals.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file init.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file ipc.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file irq.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file irq_sender.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file log.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-14

View File

@@ -1,6 +1,6 @@
/**
* @file map.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file misc.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file mm.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file mm_man.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file mm_page.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file mm_space.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file mm_wrap.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file obj_space.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file printk.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-14

View File

@@ -1,6 +1,6 @@
/**
* @file ram_limit.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file ref.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file scheduler.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file spinlock.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file sys.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief 内核的信息输出对象,用户态使用该对象进行数据输出。
* @version 0.1
* @date 2023-09-16

View File

@@ -1,6 +1,6 @@
/**
* @file syscall.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-19

View File

@@ -1,6 +1,6 @@
/**
* @file task.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file thread.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file thread_armv7m.c
* @author zhangzheng (135874329@qq.com)
* @author ATShining (135874329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file thread_knl.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,6 +1,6 @@
/**
* @file util.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-29

View File

@@ -1,9 +1,9 @@
#!/bin/bash
# export TOOLCHAIN=/home/zhangzheng/gcc-arm-none-eabi-5_4-2016q3/bin/
# export TOOLCHAIN_LIB=/home/zhangzheng/gcc-arm-none-eabi-5_4-2016q3/lib/gcc/arm-none-eabi/5.4.1/armv7-m
export TOOLCHAIN=/Users/zhangzheng/gcc-arm-none-eabi-10.3-2021.10/bin/
export TOOLCHAIN_LIB=/Users/zhangzheng/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v7-m/nofp
# export TOOLCHAIN=/home/ATShining/gcc-arm-none-eabi-5_4-2016q3/bin/
# export TOOLCHAIN_LIB=/home/ATShining/gcc-arm-none-eabi-5_4-2016q3/lib/gcc/arm-none-eabi/5.4.1/armv7-m
export TOOLCHAIN=/Users/ATShining/gcc-arm-none-eabi-10.3-2021.10/bin/
export TOOLCHAIN_LIB=/Users/ATShining/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v7-m/nofp
export KEN_OFFSET=0x2000
export INIT_OFFSET=0x10000
export BOOTFS_ADDR_OFFSET=0x20000

View File

@@ -1,9 +1,9 @@
#!/bin/bash
# export TOOLCHAIN=/home/zhangzheng/gcc-arm-none-eabi-5_4-2016q3/bin/
# export TOOLCHAIN_LIB=/home/zhangzheng/gcc-arm-none-eabi-5_4-2016q3/lib/gcc/arm-none-eabi/5.4.1/armv7-m
export TOOLCHAIN=/Users/zhangzheng/gcc-arm-none-eabi-10.3-2021.10/bin/
export TOOLCHAIN_LIB=/Users/zhangzheng/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v7-m/nofp
# export TOOLCHAIN=/home/ATShining/gcc-arm-none-eabi-5_4-2016q3/bin/
# export TOOLCHAIN_LIB=/home/ATShining/gcc-arm-none-eabi-5_4-2016q3/lib/gcc/arm-none-eabi/5.4.1/armv7-m
export TOOLCHAIN=/Users/ATShining/gcc-arm-none-eabi-10.3-2021.10/bin/
export TOOLCHAIN_LIB=/Users/ATShining/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/thumb/v7-m/nofp
export KNL=mkrtos
export KEN_OFFSET=0x2000
export INIT_OFFSET=0x10000

View File

@@ -6,7 +6,7 @@
FUNC_START __longjmp
mov ip, r0
movs r0, r1
//zhangzheng
//ATShining
it eq
moveq r0, #1
#ifndef __SOFTFP__
@@ -24,7 +24,7 @@ FUNC_START __longjmp
# warning "sigjmp will not restore iwmmxt coprocessor registers"
#endif
//zhangzheng ldmia ip!, {r4-r11, sp, pc}
//ATShining ldmia ip!, {r4-r11, sp, pc}
ldmia ip!, {r4-r11}
ldmia ip!, {r2}
mov sp,r2

View File

@@ -61,7 +61,7 @@ struct shm_info {
};
#if defined(__i386__) || defined(__mips__) || defined(__arm__) || defined(__powerpc__) || defined (__powerpc64__) || defined(__s390__) || defined(__hppa__) || defined(__x86_64__) || defined(__ia64__)
#define PAGE_SIZE 256UL //TODO:zhangzheng PAGE_SIZE 4096UL
#define PAGE_SIZE 256UL //TODO:ATShining PAGE_SIZE 4096UL
#define PAGE_SHIFT 8 //TODO:12
#elif defined(__aarch64__)
/* Technically, this is wrong, as page size might vary, and is not known when compiling stuff.

View File

@@ -1,6 +1,6 @@
/**
* @file futex_backend.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief 该文件用ipc模拟一个futex锁
* @version 0.1
* @date 2023-09-09

View File

@@ -1,6 +1,6 @@
/**
* @file sys_backend.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-19

View File

@@ -15,7 +15,7 @@ void _start_c(long *p, void *start_addr)
{
int argc = p[0];
char **argv = (void *)(p + 1);
app_start_addr = start_addr; // zhangzheng add.
app_start_addr = start_addr; // ATShining add.
__libc_start_main(main, argc, argv, _init, _fini, 0);
}

View File

@@ -13,6 +13,6 @@ int __libc_start_main_init(int (*main)(int,char **,char **), int argc, char **ar
extern void *app_start_addr;
void _start_c_init(long *p, void *start_addr)
{
app_start_addr = start_addr; // zhangzheng add.
app_start_addr = start_addr; // ATShining add.
__libc_start_main_init(main, NULL, NULL, _init, _fini, 0);
}

View File

@@ -1,6 +1,6 @@
/**
* @file pm_svr.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file pm_svr.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file u_rpc.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-09-23

View File

@@ -42,12 +42,16 @@ int u_thread_create(obj_handler_t *th_hd, void *stack, umword_t stack_size, void
handler_free_umap(th1_hd);
return msg_tag_get_prot(tag);
}
if (msg_buf)
{
//!< 有些线程不需要msg_buf
tag = thread_msg_buf_set(th1_hd, msg_buf);
if (msg_tag_get_prot(tag) < 0)
{
handler_free_umap(th1_hd);
return msg_tag_get_prot(tag);
}
}
*th_hd = th1_hd;
return 0;
}

View File

@@ -1,6 +1,6 @@
/**
* @file MDM_RTU_APP.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief https://github.com/lotoohe-space/XTinyModbus
* @version 0.1
* @date 2023-10-03

View File

@@ -17,7 +17,7 @@
#include <u_thread.h>
static ATTR_ALIGN(8) uint8_t cons_stack[512];
static uint8_t cons_msg_buf[MSG_BUG_LEN];
// static uint8_t cons_msg_buf[MSG_BUG_LEN];
static cons_t cons_obj;
static obj_handler_t cons_th;
@@ -48,7 +48,7 @@ void console_init(void)
{
cons_svr_obj_init(&cons_obj);
meta_reg_svr_obj(&cons_obj.svr, CONS_PROT);
u_thread_create(&cons_th, cons_stack, sizeof(cons_stack), cons_msg_buf, console_read_func);
u_thread_create(&cons_th, cons_stack, sizeof(cons_stack), NULL, console_read_func);
u_thread_run(cons_th, 2);
printf("cons svr init...\n");
}

View File

@@ -1,6 +1,6 @@
/**
* @file heap_stack.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file main.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file namespace.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file namespace.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file parse_cfg.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-27

View File

@@ -1,7 +1,7 @@
/**
* @file parse_cfg.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file pm.c
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28

View File

@@ -1,6 +1,6 @@
/**
* @file pm.h
* @author zhangzheng (1358745329@qq.com)
* @author ATShining (1358745329@qq.com)
* @brief
* @version 0.1
* @date 2023-11-28