提交 59bc213f 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

Merge branch 'scale-amd64' of git+ssh://pdos.csail.mit.edu/home/am0/6.828/xv6 into scale-amd64

......@@ -9,7 +9,7 @@
* Networking with lwIP
$ git clone git://git.savannah.nongnu.org/lwip.git
$ (cd lwip && git checkout STABLE-1_4_0)
$ (cd lwip && git checkout DEVEL-1_4_1)
$ make clean;make
* Copies of e1000 and e1000e manuals are in manuals/. They were
......@@ -40,6 +40,7 @@
mkdir build
cd build
../configure --target=x86_64-jos-elf --with-gmp=/usr/local/ --with-mpfr=/usr/local --enable-languages=c,c++ --without-headers --disable-nls
make all-gcc ; sudo make install-gcc
* clang
- Version 3.0 or greater is required to build xv6
......
......@@ -205,7 +205,7 @@ int kmemcpy(void*, void*, u64);
void syscall(void);
// string.c
int memcmp(const void*, const void*, u32);
extern "C" int memcmp(const void*, const void*, u32);
void* memmove(void*, const void*, u32);
extern "C" void* memset(void*, int, u32);
extern "C" void* memcpy(void*, const void *, u32);
......
......@@ -2,3 +2,4 @@ void* memset(void*, int, unsigned int);
void* memcpy(void *dst, const void *src, unsigned int n);
void* memset(void*, int, unsigned int);
unsigned int strlen(const char* str);
int memcmp(const void*, const void*, unsigned int);
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论