1/* Copyright (C) 2007-2008 The Android Open Source Project 2** 3** This software is licensed under the terms of the GNU General Public 4** License version 2, as published by the Free Software Foundation, and 5** may be copied, distributed, and modified under those terms. 6** 7** This program is distributed in the hope that it will be useful, 8** but WITHOUT ANY WARRANTY; without even the implied warranty of 9** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10** GNU General Public License for more details. 11*/ 12#ifndef _modem_driver_h 13#define _modem_driver_h 14 15#include "android_modem.h" 16#include "qemu-common.h" 17 18/** in telephony/modem_driver.c */ 19/* this is the internal character driver used to communicate with the 20 * emulated GSM modem. see qemu_chr_open() in vl.c */ 21extern CharDriverState* android_modem_cs; 22 23/* the emulated GSM modem itself */ 24extern AModem android_modem; 25 26/* must be called before the VM runs if there is a modem to emulate */ 27extern void android_modem_init( int base_port ); 28 29#endif /* _modem_driver_h */ 30