| OLD | NEW |
| 1 /* Software-Based Trusted Platform Module (TPM) Emulator for OpenBSD | 1 /* Software-based Trusted Platform Module (TPM) Emulator |
| 2 * Copyright (C) 2007 Sebastian Schuetz <sebastian_schuetz@genua.de> | 2 * Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net> |
| 3 * Copyright (C) 2007 Mario Strasser <mast@gmx.net>, | 3 * Copyright (C) 2007 Sebastian Schuetz <sebastian_schuetz@genua.de> |
| 4 * Swiss Federal Institute of Technology (ETH) Zurich | 4 * |
| 5 * | 5 * This module is free software; you can redistribute it and/or modify |
| 6 * This program is free software; you can redistribute it and/or modify | 6 * it under the terms of the GNU General Public License as published |
| 7 * it under the terms of the GNU General Public License as published | 7 * by the Free Software Foundation; either version 2 of the License, |
| 8 * by the Free Software Foundation; either version 2 of the License, | 8 * or (at your option) any later version. |
| 9 * or (at your option) any later version. | 9 * |
| 10 * | 10 * This module is distributed in the hope that it will be useful, |
| 11 * This program is distributed in the hope that it will be useful, | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 * GNU General Public License for more details. |
| 14 * GNU General Public License for more details. | 14 * |
| 15 * | 15 * $Id$ |
| 16 * $Id$ | 16 */ |
| 17 */ | |
| 18 | 17 |
| 19 #include <sys/param.h> | 18 #include <sys/param.h> |
| 20 #include <sys/fcntl.h> | 19 #include <sys/fcntl.h> |
| 21 #include <sys/systm.h> | 20 #include <sys/systm.h> |
| 22 #include <sys/ioctl.h> | 21 #include <sys/ioctl.h> |
| 23 #include <sys/exec.h> | 22 #include <sys/exec.h> |
| 24 #include <sys/conf.h> | 23 #include <sys/conf.h> |
| 25 #include <sys/lkm.h> | 24 #include <sys/lkm.h> |
| 26 #include <sys/malloc.h> | 25 #include <sys/malloc.h> |
| 27 #include <sys/socket.h> | 26 #include <sys/socket.h> |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 | 281 |
| 283 /* our main entry point */ | 282 /* our main entry point */ |
| 284 int | 283 int |
| 285 tpm(struct lkm_table *lkmtp, int cmd, int ver) | 284 tpm(struct lkm_table *lkmtp, int cmd, int ver) |
| 286 { | 285 { |
| 287 DISPATCH(lkmtp,cmd,ver,tpm_handler,tpm_handler,lkm_nofunc); | 286 DISPATCH(lkmtp,cmd,ver,tpm_handler,tpm_handler,lkm_nofunc); |
| 288 } | 287 } |
| 289 | 288 |
| 290 | 289 |
| 291 | 290 |
| OLD | NEW |