GCYYfun
GCYYfun
docker 基于 ubuntu20.04 使用 egrep -c '(vmx|svm)' /proc/cpuinfo  使用kvm-ok 查看  使用 modprobe kvm_intel  使用 kvm  参考过 https://github.com/boot2docker/boot2docker/issues/1138 安装 https://help.ubuntu.com/community/KVM/Installation 其中尤其要注意 要重新启动 在 run container时 添加 --privileged...
## 过程 ### 1、下载 rCore 在一个自己喜欢的目录下 ``` git clone https://github.com/rcore-os/rCore.git ``` ### 2、 下载 libc-test ``` cd rCore cd user git clone git://repo.or.cz/libc-test ``` ### 3、配置 编译 libc-test的环境 安装 musl...
周知OS有system call、作用是 由OS这个应用向依赖于它的上层软件提供 OS 所管辖的资源的操作能力、为了方便和统一 逐渐形成了 POSIX 标准、按照这个标准去制作syscall 、大家就都比较容易使用、但终归 写程序还是会有不方便、就又形成了一层抽象和封装 、用C包装起来了syscall、称之为 libc、提供成为库函数、去调用libc会比直接调用syscall 方便一些、 比如最开始有 ANSI C 就叫做了libc 、之后GUN也出了一个libc 、叫做了glibc、目前要用的 musl 也是同样的东西、不同的是具体的实现、但封装的都是基于POSIX标准的syscall、 有一些 问题: 1. Ubuntu 有没有自带的libc、是glibc么? >> 缺省带glibc 2. Ubuntu...