History log of /DragonOS/kernel/src/arch/x86_64/math/ (Results 1 – 1 of 1)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2813126e11-Nov-2022 login <longjin@ringotek.cn>

新增rust ffi (#77)

* 引入cargo

* 取消对Cargo.lock的跟踪

* 解决vscode报错问题

* new: rust的代码能够调用c语言的printk_color

* 1、将原本run.sh的工作拆解,变为几个不同的make命令
2、在docker镜像中编译rust

* 更改workflow

* update workflow

新增rust ffi (#77)

* 引入cargo

* 取消对Cargo.lock的跟踪

* 解决vscode报错问题

* new: rust的代码能够调用c语言的printk_color

* 1、将原本run.sh的工作拆解,变为几个不同的make命令
2、在docker镜像中编译rust

* 更改workflow

* update workflow

* new: 解决workflow无法通过编译的问题

show more ...


/DragonOS/.github/workflows/codeql.yml
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.idea/.gitignore
/DragonOS/.idea/customTargets.xml
/DragonOS/.idea/dragonOS.iml
/DragonOS/.idea/misc.xml
/DragonOS/.idea/modules.xml
/DragonOS/.idea/vcs.xml
/DragonOS/.vscode/.gitignore
/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/LICENSE
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/bochsrc
/DragonOS/bx_enh_dbg.ini
/DragonOS/docs/Makefile
/DragonOS/docs/Multiboot2 Specification version 2.0.pdf
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.0.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/code_contribution/coding-style.md
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/conf.py
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/kernel/boot/bootloader.md
/DragonOS/docs/kernel/boot/index.rst
/DragonOS/docs/kernel/boot/multiboot2.md
/DragonOS/docs/kernel/core_api/allocate-memory.md
/DragonOS/docs/kernel/core_api/atomic.md
/DragonOS/docs/kernel/core_api/data_structures.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/kernel_api.md
/DragonOS/docs/kernel/core_api/mm-api.md
/DragonOS/docs/kernel/cpu_arch/index.rst
/DragonOS/docs/kernel/cpu_arch/x86_64/index.rst
/DragonOS/docs/kernel/cpu_arch/x86_64/usb_legacy_support.md
/DragonOS/docs/kernel/debug/index.rst
/DragonOS/docs/kernel/debug/traceback.md
/DragonOS/docs/kernel/filesystem/devfs/index.md
/DragonOS/docs/kernel/filesystem/fat32/index.md
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/rootfs/index.md
/DragonOS/docs/kernel/filesystem/vfs/api.md
/DragonOS/docs/kernel/filesystem/vfs/index.rst
/DragonOS/docs/kernel/filesystem/vfs/overview.md
/DragonOS/docs/kernel/ktest/index.rst
/DragonOS/docs/kernel/ktest/ktest-framework.md
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/docs/kernel/locking/lockref.md
/DragonOS/docs/kernel/locking/locks.md
/DragonOS/docs/kernel/memory_management/index.rst
/DragonOS/docs/kernel/memory_management/mmio.md
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/kthread.md
/DragonOS/docs/kernel/sched/index.rst
/DragonOS/docs/kernel/sched/waiting.md
/DragonOS/docs/make.bat
/DragonOS/docs/requirements.txt
/DragonOS/docs/syscall_api/index.rst
/DragonOS/docs/syscall_api/intro.md
/DragonOS/docs/userland/libc/apis/api-list/ctype.md
/DragonOS/docs/userland/libc/apis/api-list/dirent.md
/DragonOS/docs/userland/libc/apis/api-list/errno.md
/DragonOS/docs/userland/libc/apis/api-list/fcntl.md
/DragonOS/docs/userland/libc/apis/api-list/math.md
/DragonOS/docs/userland/libc/apis/api-list/printf.md
/DragonOS/docs/userland/libc/apis/api-list/stddef.md
/DragonOS/docs/userland/libc/apis/api-list/stdio.md
/DragonOS/docs/userland/libc/apis/api-list/stdlib.md
/DragonOS/docs/userland/libc/apis/api-list/string.md
/DragonOS/docs/userland/libc/apis/api-list/time.md
/DragonOS/docs/userland/libc/apis/api-list/unistd.md
/DragonOS/docs/userland/libc/apis/index.rst
/DragonOS/docs/userland/libc/design/index.rst
/DragonOS/docs/userland/libc/index.rst
/DragonOS/docs/userland/libc/intro.md
/DragonOS/kernel/.cargo/config.toml
/DragonOS/kernel/.gitignore
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/Makefile
/DragonOS/kernel/src/arch/arch.h
/DragonOS/kernel/src/arch/x86_64/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/asm.h
/DragonOS/kernel/src/arch/x86_64/asm/cmpxchg.h
/DragonOS/kernel/src/arch/x86_64/current.h
/DragonOS/kernel/src/arch/x86_64/ia64_msi.c
/DragonOS/kernel/src/arch/x86_64/ia64_msi.h
bitcount.h
/DragonOS/kernel/src/arch/x86_64/x86_64-unknown-none.json
/DragonOS/kernel/src/arch/x86_64/x86_64_ipi.c
/DragonOS/kernel/src/arch/x86_64/x86_64_ipi.h
/DragonOS/kernel/src/common/Makefile
/DragonOS/kernel/src/common/asm.h
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/common/bitree.h
/DragonOS/kernel/src/common/blk_types.h
/DragonOS/kernel/src/common/block.h
/DragonOS/kernel/src/common/boot_info.h
/DragonOS/kernel/src/common/compiler.h
/DragonOS/kernel/src/common/compiler_attributes.h
/DragonOS/kernel/src/common/completion.h
/DragonOS/kernel/src/common/cpu.h
/DragonOS/kernel/src/common/crc16.h
/DragonOS/kernel/src/common/crc32.h
/DragonOS/kernel/src/common/crc64.h
/DragonOS/kernel/src/common/crc7.h
/DragonOS/kernel/src/common/crc8.h
/DragonOS/kernel/src/common/dirent.h
/DragonOS/kernel/src/common/elf.h
/DragonOS/kernel/src/common/err.h
/DragonOS/kernel/src/common/errno.h
/DragonOS/kernel/src/common/fcntl.h
/DragonOS/kernel/src/common/font.h
/DragonOS/kernel/src/common/gfp.h
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/hid.h
/DragonOS/kernel/src/common/idr.h
/DragonOS/kernel/src/common/kfifo.h
/DragonOS/kernel/src/common/kprint.h
/DragonOS/kernel/src/common/kthread.h
/DragonOS/kernel/src/common/list.h
/DragonOS/kernel/src/common/lockref.h
/DragonOS/kernel/src/common/lz4.h
/DragonOS/kernel/src/common/math.h
/DragonOS/kernel/src/common/math/Makefile
/DragonOS/kernel/src/common/math/fabs.c
/DragonOS/kernel/src/common/math/libm.h
/DragonOS/kernel/src/common/math/pow.c
/DragonOS/kernel/src/common/math/round.c
/DragonOS/kernel/src/common/mutex.h
/DragonOS/kernel/src/common/numa.h
/DragonOS/kernel/src/common/printk.h
/DragonOS/kernel/src/common/semaphore.h
/DragonOS/kernel/src/common/spinlock.h
/DragonOS/kernel/src/common/stddef.h
/DragonOS/kernel/src/common/stdio.h
/DragonOS/kernel/src/common/stdlib.h
/DragonOS/kernel/src/common/string.h
/DragonOS/kernel/src/common/sys/types.h
/DragonOS/kernel/src/common/sys/wait.h
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/common/unistd.h
/DragonOS/kernel/src/common/user_namespace.h
/DragonOS/kernel/src/common/wait_queue.h
/DragonOS/kernel/src/common/wait_queue_head.h
/DragonOS/kernel/src/debug/.gitignore
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/debug/bug.h
/DragonOS/kernel/src/debug/kallsyms.c
/DragonOS/kernel/src/debug/traceback/traceback.c
/DragonOS/kernel/src/debug/traceback/traceback.h
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/Makefile
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/acpi/acpi.h
/DragonOS/kernel/src/driver/disk/Makefile
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/disk/ahci/ahci.h
/DragonOS/kernel/src/driver/disk/ata.c
/DragonOS/kernel/src/driver/disk/ata.h
/DragonOS/kernel/src/driver/hid/Makefile
/DragonOS/kernel/src/driver/hid/hidparse.c
/DragonOS/kernel/src/driver/hid/hidstrings.c
/DragonOS/kernel/src/driver/hid/internal.h
/DragonOS/kernel/src/driver/hid/usbhid/Makefile
/DragonOS/kernel/src/driver/interrupt/8259A/8259A.c
/DragonOS/kernel/src/driver/interrupt/8259A/8259A.h
/DragonOS/kernel/src/driver/interrupt/Makefile
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.h
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.c
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.h
/DragonOS/kernel/src/driver/keyboard/Makefile
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.h
/DragonOS/kernel/src/driver/mouse/Makefile
/DragonOS/kernel/src/driver/mouse/ps2_mouse.c
/DragonOS/kernel/src/driver/mouse/ps2_mouse.h
/DragonOS/kernel/src/driver/multiboot2/Makefile
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/pci/Makefile
/DragonOS/kernel/src/driver/pci/msi.c
/DragonOS/kernel/src/driver/pci/msi.h
/DragonOS/kernel/src/driver/pci/pci.c
/DragonOS/kernel/src/driver/pci/pci.h
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/timers/HPET/HPET.h
/DragonOS/kernel/src/driver/timers/Makefile
/DragonOS/kernel/src/driver/timers/rtc/rtc.c
/DragonOS/kernel/src/driver/timers/rtc/rtc.h
/DragonOS/kernel/src/driver/tty/Makefile
/DragonOS/kernel/src/driver/tty/tty.c
/DragonOS/kernel/src/driver/tty/tty.h
/DragonOS/kernel/src/driver/uart/Makefile
/DragonOS/kernel/src/driver/uart/uart.c
/DragonOS/kernel/src/driver/uart/uart.h
/DragonOS/kernel/src/driver/usb/Makefile
/DragonOS/kernel/src/driver/usb/usb.c
/DragonOS/kernel/src/driver/usb/usb.h
/DragonOS/kernel/src/driver/usb/xhci/internal.h
/DragonOS/kernel/src/driver/usb/xhci/xhci.c
/DragonOS/kernel/src/driver/usb/xhci/xhci.h
/DragonOS/kernel/src/driver/video/Makefile
/DragonOS/kernel/src/driver/video/video.c
/DragonOS/kernel/src/driver/video/video.h
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/gate.h
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/irq.h
/DragonOS/kernel/src/exception/softirq.c
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/exception/trap.h
/DragonOS/kernel/src/filesystem/MBR.c
/DragonOS/kernel/src/filesystem/MBR.h
/DragonOS/kernel/src/filesystem/Makefile
/DragonOS/kernel/src/filesystem/VFS/Makefile
/DragonOS/kernel/src/filesystem/VFS/VFS.c
/DragonOS/kernel/src/filesystem/VFS/VFS.h
/DragonOS/kernel/src/filesystem/VFS/dcache.c
/DragonOS/kernel/src/filesystem/VFS/internal.h
/DragonOS/kernel/src/filesystem/VFS/mount.c
/DragonOS/kernel/src/filesystem/VFS/mount.h
/DragonOS/kernel/src/filesystem/block.c
/DragonOS/kernel/src/filesystem/devfs/Makefile
/DragonOS/kernel/src/filesystem/devfs/chardev.c
/DragonOS/kernel/src/filesystem/devfs/chardev.h
/DragonOS/kernel/src/filesystem/devfs/devfs-types.h
/DragonOS/kernel/src/filesystem/devfs/devfs.c
/DragonOS/kernel/src/filesystem/devfs/devfs.h
/DragonOS/kernel/src/filesystem/devfs/internal.h
/DragonOS/kernel/src/filesystem/fat32/Makefile
/DragonOS/kernel/src/filesystem/fat32/fat32.c
/DragonOS/kernel/src/filesystem/fat32/fat32.h
/DragonOS/kernel/src/filesystem/fat32/fat_ent.c
/DragonOS/kernel/src/filesystem/fat32/fat_ent.h
/DragonOS/kernel/src/filesystem/fat32/internal.h
/DragonOS/kernel/src/filesystem/rootfs/Makefile
/DragonOS/kernel/src/filesystem/rootfs/rootfs.c
/DragonOS/kernel/src/filesystem/rootfs/rootfs.h
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/Makefile
/DragonOS/kernel/src/ipc/pipe.c
/DragonOS/kernel/src/ipc/pipe.h
/DragonOS/kernel/src/ktest/Makefile
/DragonOS/kernel/src/ktest/ktest.c
/DragonOS/kernel/src/ktest/ktest.h
/DragonOS/kernel/src/ktest/ktest_utils.h
/DragonOS/kernel/src/ktest/test-bitree.c
/DragonOS/kernel/src/ktest/test-idr.c
/DragonOS/kernel/src/ktest/test-kfifo.c
/DragonOS/kernel/src/ktest/test-mutex.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/lib/Makefile
/DragonOS/kernel/src/lib/bitree.c
/DragonOS/kernel/src/lib/cpu.c
/DragonOS/kernel/src/lib/crc16.c
/DragonOS/kernel/src/lib/crc32.c
/DragonOS/kernel/src/lib/crc64.c
/DragonOS/kernel/src/lib/crc7.c
/DragonOS/kernel/src/lib/crc8.c
/DragonOS/kernel/src/lib/glib.c
/DragonOS/kernel/src/lib/idr.c
/DragonOS/kernel/src/lib/kfifo.c
/DragonOS/kernel/src/lib/libELF/Makefile
/DragonOS/kernel/src/lib/libELF/elf.c
/DragonOS/kernel/src/lib/libUI/Makefile
/DragonOS/kernel/src/lib/libUI/screen_manager.c
/DragonOS/kernel/src/lib/libUI/screen_manager.h
/DragonOS/kernel/src/lib/libUI/textui-render.c
/DragonOS/kernel/src/lib/libUI/textui.c
/DragonOS/kernel/src/lib/libUI/textui.h
/DragonOS/kernel/src/lib/lockref.c
/DragonOS/kernel/src/lib/lz4.c
/DragonOS/kernel/src/lib/mutex.c
/DragonOS/kernel/src/lib/printk.c
/DragonOS/kernel/src/lib/rust_helloworld/Makefile
/DragonOS/kernel/src/lib/rust_helloworld/helloworld.rs
/DragonOS/kernel/src/lib/semaphore.c
/DragonOS/kernel/src/lib/stdlib.c
/DragonOS/kernel/src/lib/string.c
/DragonOS/kernel/src/lib/sys/Makefile
/DragonOS/kernel/src/lib/sys/wait.c
/DragonOS/kernel/src/lib/unistd.c
/DragonOS/kernel/src/lib/wait_queue.c
/DragonOS/kernel/src/lib/wait_queue_head.c
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/Makefile
/DragonOS/kernel/src/mm/internal.h
/DragonOS/kernel/src/mm/mm-stat.c
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.c
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmap.c
/DragonOS/kernel/src/mm/mmio-buddy.c
/DragonOS/kernel/src/mm/mmio-buddy.h
/DragonOS/kernel/src/mm/mmio.c
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/slab.c
/DragonOS/kernel/src/mm/slab.h
/DragonOS/kernel/src/mm/utils.c
/DragonOS/kernel/src/mm/vma.c
/DragonOS/kernel/src/process/Makefile
/DragonOS/kernel/src/process/kthread.c
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/proc.S
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/ptrace.h
/DragonOS/kernel/src/sched/Makefile
/DragonOS/kernel/src/sched/cfs.c
/DragonOS/kernel/src/sched/cfs.h
/DragonOS/kernel/src/sched/completion.c
/DragonOS/kernel/src/sched/sched.c
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/smp/Makefile
/DragonOS/kernel/src/smp/apu_boot.S
/DragonOS/kernel/src/smp/ipi.h
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
/DragonOS/kernel/src/syscall/Makefile
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/Makefile
/DragonOS/kernel/src/time/sleep.c
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/timer.c
/DragonOS/kernel/src/time/timer.h
/DragonOS/tools/.gdbinit
/DragonOS/tools/batch_delete_loop.py
/DragonOS/tools/bochsinit
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_in_docker.sh
/DragonOS/tools/change_rust_src.sh
/DragonOS/tools/create_hdd_image.sh
/DragonOS/tools/dump_kernel.sh
/DragonOS/tools/mount_virt_disk.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/umount_virt_disk.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/about/about.lds
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd.h
/DragonOS/user/apps/shell/cmd_help.c
/DragonOS/user/apps/shell/cmd_help.h
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/shell/cmd_test.h
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/apps/shell/shell.lds
/DragonOS/user/libs/Makefile
/DragonOS/user/libs/libKeyboard/Makefile
/DragonOS/user/libs/libKeyboard/keyboard.c
/DragonOS/user/libs/libKeyboard/keyboard.h
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/__libc__.h
/DragonOS/user/libs/libc/ctype.c
/DragonOS/user/libs/libc/ctype.h
/DragonOS/user/libs/libc/dirent.c
/DragonOS/user/libs/libc/dirent.h
/DragonOS/user/libs/libc/errno.c
/DragonOS/user/libs/libc/errno.h
/DragonOS/user/libs/libc/fcntl.c
/DragonOS/user/libs/libc/fcntl.h
/DragonOS/user/libs/libc/malloc.c
/DragonOS/user/libs/libc/math.h
/DragonOS/user/libs/libc/math/Makefile
/DragonOS/user/libs/libc/math/fabs.c
/DragonOS/user/libs/libc/math/libm.h
/DragonOS/user/libs/libc/math/pow.c
/DragonOS/user/libs/libc/math/round.c
/DragonOS/user/libs/libc/printf.c
/DragonOS/user/libs/libc/printf.h
/DragonOS/user/libs/libc/stddef.h
/DragonOS/user/libs/libc/stdio.h
/DragonOS/user/libs/libc/stdlib.c
/DragonOS/user/libs/libc/stdlib.h
/DragonOS/user/libs/libc/string.c
/DragonOS/user/libs/libc/string.h
/DragonOS/user/libs/libc/sys/Makefile
/DragonOS/user/libs/libc/sys/stat.c
/DragonOS/user/libs/libc/sys/stat.h
/DragonOS/user/libs/libc/sys/types.h
/DragonOS/user/libs/libc/sys/wait.c
/DragonOS/user/libs/libc/sys/wait.h
/DragonOS/user/libs/libc/sysdeps/x86_64/Makefile
/DragonOS/user/libs/libc/sysdeps/x86_64/elf/start.c
/DragonOS/user/libs/libc/time.c
/DragonOS/user/libs/libc/time.h
/DragonOS/user/libs/libc/unistd.c
/DragonOS/user/libs/libc/unistd.h
/DragonOS/user/libs/libsystem/Makefile
/DragonOS/user/libs/libsystem/syscall.c
/DragonOS/user/libs/libsystem/syscall.h