vkernel - Fix build after recent crypto import when IPSEC is defined.
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 2 Oct 2009 22:59:51 +0000 (15:59 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 2 Oct 2009 22:59:51 +0000 (15:59 -0700)
sys/conf/files
sys/platform/vkernel/include/md_var.h
sys/platform/vkernel/platform/init.c

index b0d4be2..3cca2a6 100644 (file)
@@ -83,6 +83,8 @@ crypto/des/des_ecb.c                  optional ipsec ipsec_esp
 crypto/des/des_setkey.c                        optional ipsec ipsec_esp
 crypto/rijndael/rijndael-alg-fst.c     optional ipsec ipsec_esp
 crypto/rijndael/rijndael-api-fst.c     optional ipsec ipsec_esp
+crypto/camellia/camellia.c             optional ipsec ipsec_esp
+crypto/camellia/camellia-api.c         optional ipsec ipsec_esp
 crypto/sha1.c                          optional ipsec
 crypto/sha1.c                          optional carp
 crypto/sha2/sha2.c                     optional ipsec
index 23b02fc..11c2b05 100644 (file)
@@ -78,6 +78,9 @@ extern struct vknetif_info NetifInfo[VKNETIF_MAX];
 extern int     NetifNum;
 extern int     _ucodesel, _udatasel;
 
+extern int     via_feature_xcrypt;
+extern int     via_feature_rng;
+
 struct mdglobaldata;
 struct __mcontext;
 
index 085bd78..f2fabd1 100644 (file)
@@ -107,6 +107,9 @@ int lwp_cpu_lock;   /* if/how to lock virtual CPUs to real CPUs */
 int real_ncpus;                /* number of real CPUs */
 int next_cpu;          /* next real CPU to lock a virtual CPU to */
 
+int via_feature_xcrypt = 0;    /* XXX */
+int via_feature_rng = 0;       /* XXX */
+
 struct privatespace *CPU_prvspace;
 
 static struct trapframe proc0_tf;