Mercurial > hg > CbC > CbC_xv6
changeset 387:ba8f847f4769
...
author | anatofuz |
---|---|
date | Mon, 27 Jul 2020 19:18:53 +0900 |
parents | aa97e53b167c |
children | bfcfba3860c3 |
files | src/CMakeLists.txt src/gearsTools/generate_stub.pl |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/CMakeLists.txt Mon Jul 27 19:17:36 2020 +0900 +++ b/src/CMakeLists.txt Mon Jul 27 19:18:53 2020 +0900 @@ -129,7 +129,7 @@ string.c arm.c asm.S bio.c buddy.c console.cbc exec.c file.cbc fs.c log.c main.c memide.c pipe.cbc proc.cbc spinlock.cbc start.c swtch.S syscall.cbc sysfile.cbc sysproc.c trap_asm.S trap.cbc vm.c device/picirq.c device/timer.c device/uart.c SingleLinkedStack.cbc entry.S impl/vm_impl.cbc impl/vm_impl_private.cbc - impl/fs_impl.cbc impl/fs_impl_private.cbc impl/KernelRetImpl.cbc impl/KernelError.cbc impl/SyscallDispatchImpl.cbc impl/CbCProcImpl.cbc init_kernel_context.cbc + impl/fs_impl.cbc impl/fs_impl_private.cbc impl/KernelRetImpl.cbc impl/KernelError.cbc impl/SyscallDispatchImpl.cbc impl/CbCProcImpl.cbc init_kernel_context.cbc impl/ReadSyscallImpl.cbc impl/ReadSyscallEntry.cbc ) # sys_read_impl.cbc
--- a/src/gearsTools/generate_stub.pl Mon Jul 27 19:17:36 2020 +0900 +++ b/src/gearsTools/generate_stub.pl Mon Jul 27 19:18:53 2020 +0900 @@ -727,9 +727,9 @@ while (my $line = <$fh>) { if ($line =~ /extern\s+_\_code\s+(\w+)\((.*)\)/) { push(@{$filename2localCodes{$filename}},$1); - } elsif ($line =~ /^\s\s*_\_code\s+(\w+)\((.*)\)(.*)/) { + } elsif ($line =~ /^\s*_\_code\s+(\w+)\((.*)\)(.*)/) { push(@{$filename2localCodes{$filename}},$1); - } elsif ($line =~ /^\s\s*_\_code *\(\s*\*\s*(\w+)\)\((.*)\)(.*)/) { + } elsif ($line =~ /^\s*_\_code *\(\s*\*\s*(\w+)\)\((.*)\)(.*)/) { push(@{$filename2localCodes{$filename}},$1); } elsif ($line =~ /^\_\_code (\w+)\((.*)\)(.*)/) { push(@{$filename2localCodes{$filename}},$1);