検索条件
全4件
(1/1ページ)
[ALL ] ( echo '#define SYSCALL_NAME close'; echo '#define SYSCALL_NARGS 1'; echo '#define SYSCALL_SYMBOL __libc_close'; echo '#define SYSCALL_CANCELLABLE 1'; echo '#include <syscall-template.S>'; echo 'weak_alias (__libc_close, __close)'; echo 'libc_hidden_weak (__close)'; echo 'weak_alias (__libc_close, close)'; echo 'libc_hidden_weak (close)'; ) \ | arm-linaro-linux-gnueabi-gcc -c -I../include -I/PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/build/build-libc-final/io -I/PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/build/build-libc-final -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/buildtools/lib/gcc/arm-linaro-linux-gnueabi/4.7.4/include -isystem /PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/buildtools/lib/gcc/arm-linaro-linux-gnueabi/4.7.4/include-fixed -isystem /opt/export/V980_cam/repo/_master_m8m/hosttool/arm-linaro-linux-gnueabi/arm-linaro-linux-gnueabi/sysroot/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER -Wa,--noexecstack -o /PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/build/build-libc-final/io/close.o -x assembler-with-cpp - -MD -MP -MF /PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/build/build-libc-final/io/close.o.dt -MT /PATH/TO/MYDIR/_build/arm-linaro-linux-gnueabi/build/build-libc-final/io/close.oソースコードだけ見ててもアカンやつや...
src/eglibc-2_13/sysdeps/unix/syscall-template.S src/eglibc-2_13/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h※nptl/cancel可能を前提として.
>Memory testing with cache >Permalink Submitted by krishnakoyalmannam on Thu, 2011-05-19 02:00. When you are testing external DDR2 memory on a multicore system, with a shared Level 2 Cache, each core could be assigned a dedicated section of memory to test and all the cores memory tests in parallel. This causes the L2 cache to result in more cache miss than cache hit, thereby resulting in increased DRAM bus transactions, which could be very useful during HW Board BringUp. And yes, the ground bounce and cross-talk tests do check for signal integrity problems. There is also MARCH-B and MARCH-C memory testing algorithms that sweep memory with random patterns in one direction and sweep in the reverse direction, so, a cache flush would be required before starting the reverse sweep. And finally, an XOR test to uncover memory cell faults, would make the suite of memory tests quite comprehensive providing greater coverage.
#include <linux/fs.h> #include <linux/init.h> #include <linux/proc_fs.h> #include <linux/seq_file.h> static int cmdline_proc_show(struct seq_file *m, void *v) { seq_printf(m, "%s\n", saved_command_line); return 0; } static int cmdline_proc_open(struct inode *inode, struct file *file) { return single_open(file, cmdline_proc_show, NULL); } static const struct file_operations cmdline_proc_fops = { .open = cmdline_proc_open, .read = seq_read, .llseek = seq_lseek, .release = single_release, }; static int __init proc_cmdline_init(void) { proc_create("cmdline", 0, NULL, &cmdline_proc_fops); return 0; } module_init(proc_cmdline_init);非常に判りよい例.. ;)
mkdir /path/to/files git format-patch -o /path/to/files <revision-format>適用する場合には shellのファイル展開を期待するなら:
git am -p<n> < /path/to/files/*こっちのほうがいいかも.
for f in `ls -l /path/to/files/*` do git am -p<n> < $f done★参照URL