修改作者信息为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

@@ -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,11 +42,15 @@ 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);
}
tag = thread_msg_buf_set(th1_hd, msg_buf);
if (msg_tag_get_prot(tag) < 0)
if (msg_buf)
{
handler_free_umap(th1_hd);
return msg_tag_get_prot(tag);
//!< 有些线程不需要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