読者です 読者をやめる 読者になる 読者になる

BHyVeビルドめも5

DragonFlyBSD BHyVe

ept.cの残りはsmp_rendezvous()がないというやつφ(・・*)ゞ ウーン FreeBSDだとsys/sys/smp.hに定義があって、実体はsys/ker/subr_smp.cにいる。

--------------------------------------------------------------
>>> Kernel build for BHYVE started on Sun Jul  1 21:59:18 JST 2012
--------------------------------------------------------------
===> BHYVE
cd /usr/src/sys/config;  PATH=/usr/obj/usr/src/ctools_x86_64_x86_64/usr/sbin:/us
r/obj/usr/src/ctools_x86_64_x86_64/usr/bin:/usr/obj/usr/src/ctools_x86_64_x86_64
/bin:/usr/obj/usr/src/ctools_x86_64_x86_64/usr/games:/usr/obj/usr/src/btools_x86
_64/usr/sbin:/usr/obj/usr/src/btools_x86_64/usr/bin:/usr/obj/usr/src/btools_x86_
64/bin:/usr/obj/usr/src/btools_x86_64/usr/games:/usr/pkg/bin  config  -d /usr/ob
j/usr/src/sys/BHYVE  /usr/src/sys/config/BHYVE
Kernel build directory is /usr/obj/usr/src/sys/BHYVE
cd /usr/obj/usr/src/sys/BHYVE;  MAKEOBJDIRPREFIX=/usr/obj/usr/src/world_x86_64  
OBJTREE=/usr/obj  MACHINE_ARCH=x86_64  MACHINE=x86_64  MACHINE_PLATFORM=pc64  OB
JFORMAT_PATH=/usr/obj/usr/src/ctools_x86_64_x86_64  HOST_CCVER=gcc44  CCVER=gcc4
4  BINUTILSVER=binutils221  DESTDIR=/usr/obj/usr/src/world_x86_64  INSTALL="sh /
usr/src/tools/install.sh"  PATH=/usr/obj/usr/src/ctools_x86_64_x86_64/usr/sbin:/
usr/obj/usr/src/ctools_x86_64_x86_64/usr/bin:/usr/obj/usr/src/ctools_x86_64_x86_
64/bin:/usr/obj/usr/src/ctools_x86_64_x86_64/usr/games:/usr/obj/usr/src/btools_x
86_64/usr/sbin:/usr/obj/usr/src/btools_x86_64/usr/bin:/usr/obj/usr/src/btools_x8
6_64/bin:/usr/obj/usr/src/btools_x86_64/usr/games:/usr/pkg/bin make KERNEL=kerne
l all
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wold-style-definition 
-std=c99 -Wold-style-declaration -g -nostdinc -I. -Iinclude -I/usr/src/sys -I/us
r/src/sys/../include -I/usr/obj/usr/src/sys/BHYVE -I"/usr/src/sys/dev/acpica5" -
I"/usr/src/sys/contrib/dev/acpica-unix/include" -I/usr/src/sys/dev/netif/ath/hal
 -I/usr/src/sys/dev/netif/ath/hal/ath_hal  -D_KERNEL -include opt_global.h  -fin
line-limit=8000 --param inline-unit-growth=100 --param large-function-growth=100
0 -fno-common -ffreestanding -mpreferred-stack-boundary=4 -fno-stack-protector -
mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a  -mno-sse5 -m
no-abm -mno-aes -mno-avx -mno-pclmul -mno-popcnt -msoft-float -fno-asynchronous-
unwind-tables -fno-omit-frame-pointer  /usr/src/sys/platform/pc64/vmm/intel/ept.
c -Werror
cc1: warnings being treated as errors
/usr/src/sys/platform/pc64/vmm/intel/ept.c: In function 'ept_invalidate_mappings
':
/usr/src/sys/platform/pc64/vmm/intel/ept.c:311: error: implicit declaration of f
unction 'smp_rendezvous'
/usr/src/sys/platform/pc64/vmm/intel/ept.c:311: error: nested extern declaration
 of 'smp_rendezvous'
*** Error code 1

Stop in /usr/obj/usr/src/sys/BHYVE.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

DragonFlyだとどこかなーってことなんだけど、intr_machdep.hもちょっとちがうし良くわかりません/(^o^)\

[masami@dfly:/usr/src]$ find . -name "*.h" -exec grep -n rendezvous {} \\; -ls
138:  /* If the task is accepting a rendezvous with another task, this field
273624       26 -rw-r--r--    1 masami           masami              12915 Jun 3
0 13:49 ./contrib/gdb-7/gdb/ada-lang.h
44: * requests by clients wishing to rendezvous for the purpose of
46: * initiates a rendezvous by sending a CTL_MSG to the server of
53: * recorded invitation to respond with the appropriate rendezvous
372125       12 -rw-r--r--    1 masami           masami               5211 Jun 2
9 13:36 ./include/protocols/talkd.h
110:/* IPI group1 2: unused (was inter-cpu rendezvous) */
865845       10 -rw-r--r--    1 masami           masami               4860 Jun 2
9 13:37 ./sys/platform/pc32/include/intr_machdep.h
111:/* IPI group1 2: unused (was inter-cpu rendezvous) */
113:/* IPIQ rendezvous */
116:/* TIMER rendezvous */
865957       10 -rw-r--r--    1 masami           masami               4968 Jun 2
9 13:37 ./sys/platform/pc64/include/intr_machdep.h
123:    char *rendezvous;         /* rendezvous point */
886739       30 -rw-r--r--    1 masami           masami              14927 Jun 2
9 13:38 ./usr.sbin/installer/libdfui/dfui.h

まあ、今日はここまで