/DragonOS-0.1.2/kernel/src/libs/ |
D | kfifo.c | 86 uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size) in kfifo_out() argument 88 if (unlikely(to == NULL)) // 判断目标地址是否为空 in kfifo_out() 97 memcpy(to, fifo->buffer + fifo->out_offset, tmp); in kfifo_out() 98 memcpy(to + tmp, fifo->buffer, size - tmp); in kfifo_out() 103 memcpy(to, fifo->buffer + fifo->out_offset, size); in kfifo_out() 120 uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size) in kfifo_out_peek() argument 122 if (unlikely(to == NULL)) // 判断目标地址是否为空 in kfifo_out_peek() 131 memcpy(to, fifo->buffer + fifo->out_offset, tmp); in kfifo_out_peek() 132 memcpy(to + tmp, fifo->buffer, size - tmp); in kfifo_out_peek() 136 memcpy(to, fifo->buffer + fifo->out_offset, size); in kfifo_out_peek()
|
/DragonOS-0.1.2/ |
D | LICENSE | 6 Everyone is permitted to copy and distribute verbatim copies 11 The licenses for most software are designed to take away your 12 freedom to share and change it. By contrast, the GNU General Public 13 License is intended to guarantee your freedom to share and change free 14 software--to make sure the software is free for all its users. This 15 General Public License applies to most of the Free Software 16 Foundation's software and to any other program whose authors commit to 18 the GNU Lesser General Public License instead.) You can apply it to 21 When we speak of free software, we are referring to freedom, not 22 price. Our General Public Licenses are designed to make sure that you [all …]
|
D | README_EN.md | 9 [All you want to know about DragonOS is here - DragonOS](https://dragonos.org/uncategorized/summary… 20 ## How to run? 22   The steps to run DragonOS are very simple. You can refer to the following materials to … 26 - [How to run DragonOS on a computer's virtual machine? || Long Jin's blog](https://longjin666.cn/?… 28 - [Teach you to run DragonOS in 15 minutes- Bilibili](https://www.bilibili.com/video/BV1zF411w7s2?s… 34 ## How to join DragonOS ? 36   If you are willing to join us, you can check the project panel of GitHub warehouse, sel… 40 ## How to come in contact with the community? 46 …bs.dragonos.org/) In the corresponding section of the, use formal language to post for discussion.… 48   While posting, you can forward the post to the communication QQ group, which can make t… [all …]
|
D | README.md | 59 [Contributors to fslongjin/DragonOS · GitHub](https://github.com/fslongjin/DragonOS/graphs/contribu…
|
/DragonOS-0.1.2/kernel/ |
D | cbindgen.toml | 1 # The language to output bindings in 14 # An optional string of text to output at the beginning of the generated file 19 # An optional string of text to output at the end of the generated file 21 # trailer = "/* Text to put at the end of the generated file */" 23 # An optional name to use as an include guard 30 # An optional string of text to output between major sections of the generated 36 # Whether to include a comment with the version of cbindgen used to generate the file 40 # An optional namespace to output around the generated bindings 44 # An optional list of namespaces to output around the generated bindings 48 # An optional list of namespaces to declare as using with "using namespace" [all …]
|
/DragonOS-0.1.2/kernel/src/common/ |
D | kfifo.h | 109 uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size); 119 uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size); 147 uint32_t __always_inline kfifo_out_locked(struct kfifo_t *fifo, void *to, uint32_t size, spinlock_t… in kfifo_out_locked() argument 150 uint32_t retval = kfifo_out(fifo, to, size); in kfifo_out_locked()
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | stdio.md | 46 ``#define SEEK_SET 0 /* Seek relative to start-of-file */`` 48 ``#define SEEK_CUR 1 /* Seek relative to current position */`` 50 ``#define SEEK_END 2 /* Seek relative to end-of-file */``
|
D | errno.md | 149 #define EOVERFLOW 65 /* 数值过大,产生溢出 Value too large to be stored in data type.*/
|
/DragonOS-0.1.2/docs/ |
D | make.bat | 19 echo.installed, then set the SPHINXBUILD environment variable to point 20 echo.to the full path of the 'sphinx-build' executable. Alternatively you 21 echo.may add the Sphinx directory to PATH.
|
D | index.rst | 3 You can adapt this file completely to your liking, but it should at least
|
/DragonOS-0.1.2/kernel/src/debug/ |
D | bug.h | 46 #define FAIL_ON_TO(condition, to) ({ \ argument 49 goto to; \
|
/DragonOS-0.1.2/docs/kernel/core_api/ |
D | data_structures.md | 100 `uint32_t kfifo_out(struct kfifo_t *fifo, void *to, uint32_t size)` 112 **to** 126 `uint32_t kfifo_out_peek(struct kfifo_t *fifo, void *to, uint32_t size)` 138 **to**
|
/DragonOS-0.1.2/kernel/src/filesystem/procfs/ |
D | procfs.c | 21 static long simple_procfs_read(void *to, int64_t count, long *position, void *from, int64_t availab… 197 static long simple_procfs_read(void *to, int64_t count, long *position, void *from, int64_t availab… in simple_procfs_read() argument 212 ret = copy_to_user(to, from + pos, count); in simple_procfs_read()
|
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.1.md | 30 - port kmalloc and printk to rust 262 port kmalloc and printk to rust (#83)
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal.rs | 693 fn copy_siginfo_to_user(to: *mut siginfo, from: &siginfo) -> Result<i32, i32> { in copy_siginfo_to_user() 695 if unsafe { !verify_area(to as u64, size_of::<siginfo>() as u64) } { in copy_siginfo_to_user() 706 (*to)._sinfo.data._sifields._kill._pid = from._sinfo.data._sifields._kill._pid; in copy_siginfo_to_user()
|