历史上的今天
返回首页

历史上的今天

今天是:2025年04月13日(星期日)

正在发生

2018年04月13日 | ARM嵌入式应用调试之输入模拟器之编写测试模拟功能

2018-04-13 来源:eefocus

自定义myprintk函数,把信息打印到mymsg文件内:

                        自定义print函数缓存打印数据到环形缓冲区

====================================================================

触摸屏驱动源码:

 

#include "linux/errno.h"

#include "linux/kernel.h"

#include "linux/module.h"

#include "linux/slab.h"

#include "linux/input.h"

#include "linux/init.h"

#include "linux/serio.h"

#include "linux/delay.h"

#include "linux/platform_device.h"

#include "linux/clk.h"

#include "asm/io.h"

#include "asm/irq.h"

#include "asm/uaccess.h"

 

#include "asm/plat-s3c24xx/ts.h"

 

#include "asm/arch/regs-adc.h"

#include "asm/arch/regs-gpio.h"

 

struct s3c_ts_regs {

   unsigned long adccon;

   unsigned long adctsc;

   unsigned long adcdly;

   unsigned long adcdat0;

   unsigned long adcdat1;

   unsigned long adcupdn;

};

 

static struct input_dev *s3c_ts_dev;

static volatile struct s3c_ts_regs *s3c_ts_regs;

 

static struct timer_list ts_timer;

 

#define MYLOG_BUF_LEN (1024*1024)

#define INPUT_REPLAY   0

#define INPUT_TAG      1

 

static char *replay_buf;

static int replay_r = 0;

static int replay_w = 0;

static int major = 0;

static struct class *cls;

static struct timer_list replay_timer;

 

extern int myprintk(const char *fmt, ...);

 

static ssize_t replay_write(struct file * file, const char __user *buf, size_t size, loff_t *offset)

{

   int err;

   

   // 把应用程序传入的数据写入replay_buf //

   if (replay_w + size "= MYLOG_BUF_LEN)

   {

      printk("replay_buf full!\n");

      return -EIO;

   }

   

   err = copy_from_user(replay_buf + replay_w, buf, size);

   if (err)

   {

      return -EIO;

   }

   else

   {

      replay_w += size;

   }

 

   return size;

}

 

// app: ioctl(fd, CMD, ..); //

static int replay_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)

{

   char buf[100];

   switch (cmd)

   {

      case INPUT_REPLAY:

      {

         // 启动回放: 根据replay_buf里的数据来上报事件 //

         replay_timer.expires = jiffies + 1;

         printk("replay_ioctl add_timer\n");

         add_timer(&replay_timer);

         break;

      }

      case INPUT_TAG:

      {

         copy_from_user(buf, (const void __user *)arg, 100);

         buf[99] = '\0';

         myprintk("%s\n", buf);

         break;

      }

   }

   

   return 0;

}

 

// 返回值: 0 - 无数据 //

static int replay_get_line(char *line)

{

   int i = 0;

   

   // 吃掉前导的空格、回车符 //

   while (replay_r "= replay_w)

   {

      if ((replay_buf[replay_r] == ' ') || (replay_buf[replay_r] == '\n') || (replay_buf[replay_r] == '\r') || (replay_buf[replay_r] == '\t'))

         replay_r++;

      else

         break;

   }

 

   while (replay_r "= replay_w)

   {

      if ((replay_buf[replay_r] == '\n') || (replay_buf[replay_r] == '\r'))

         break;

      else

      {

         line[i] = replay_buf[replay_r];

         replay_r++;   

         i++;

      }

   }

 

   line[i] = '\0';

   return i;   

}

 

static void input_replay_timer_func(unsigned long data)

{

   // 把replay_buf里的一些数据取出来上报 

   // 读出第1行数据, 确定time值, 上报第1行

   // 继续读下1行数据, 如果它的time等于第1行的time, 上报

   //                  否则: mod_timer  

   //

 

   unsigned int time;

   unsigned int type;

   unsigned int code;

   int val;

 

   static unsigned int pre_time = 0, pre_type = 0, pre_code = 0;

   static int pre_val = 0;

 

   static int cnt = 0;

 

   

   char line[100];

   int ret;

 

   //printk("input_replay_timer_func : %d\n", cnt++);

 

   if (pre_time != 0)

   {

      // 上报事件 //

      input_event(s3c_ts_dev, pre_type, pre_code, pre_val);

   }

   

   while (1)

   {

      ret = replay_get_line(line);

      if (ret == 0)

      {

         printk("end of input replay\n");

         del_timer(&replay_timer);

         pre_time = pre_type = pre_code = 0;

         pre_val = 0;

         replay_r = replay_w = 0;

         break;

      }

 

      // 处理数据 //

      time = 0;

      type = 0;

      code = 0;

      val  = 0;

      sscanf(line, "%x %x %x %d", &time, &type, &code, &val);

 

      //printk("%x %x %x %d\n", time, type, code, val);

      

      if (!time && !type && !code && !val)

         continue;

      else

      {

         if ((pre_time == 0) || (time == pre_time))

         {

            // 上报事件 //

            input_event(s3c_ts_dev, type, code, val);

            

            if (pre_time == 0)

               pre_time = time;

         }

         else

         {

            // 根据下一个要上报的数据的时间 mod_timer //

            mod_timer(&replay_timer, jiffies + (time - pre_time));            

 

            pre_time = time;

            pre_type = type;

            pre_code = code;

            pre_val  = val;

            

            break;

         }

      }

   }

   

}

 

static struct file_operations replay_fops = {

   .owner   = THIS_MODULE,

   .write   = replay_write,

   .ioctl   = replay_ioctl,

};

 

static void enter_wait_pen_down_mode(void)

{

   s3c_ts_regs-"adctsc = 0xd3;

}

 

static void enter_wait_pen_up_mode(void)

{

   s3c_ts_regs-"adctsc = 0x1d3;

}

 

static void enter_measure_xy_mode(void)

{

   s3c_ts_regs-"adctsc = (1""3)|(1""2);

}

 

static void start_adc(void)

{

   s3c_ts_regs-"adccon |= (1""0);

}

 

void write_input_event_to_file(unsigned int time, unsigned int type, unsigned int code, int val)

{

   myprintk("0xx 0xx 0xx %d\n", time, type, code, val);   

}

 

static int s3c_filter_ts(int x[], int y[])

{

#define ERR_LIMIT 10

 

   int avr_x, avr_y;

   int det_x, det_y;

 

   avr_x = (x[0] + x[1])/2;

   avr_y = (y[0] + y[1])/2;

 

   det_x = (x[2] " avr_x) ? (x[2] - avr_x) : (avr_x - x[2]);

   det_y = (y[2] " avr_y) ? (y[2] - avr_y) : (avr_y - y[2]);

 

   if ((det_x " ERR_LIMIT) || (det_y " ERR_LIMIT))

      return 0;

 

   avr_x = (x[1] + x[2])/2;

   avr_y = (y[1] + y[2])/2;

 

   det_x = (x[3] " avr_x) ? (x[3] - avr_x) : (avr_x - x[3]);

   det_y = (y[3] " avr_y) ? (y[3] - avr_y) : (avr_y - y[3]);

 

   if ((det_x " ERR_LIMIT) || (det_y " ERR_LIMIT))

      return 0;

   

   return 1;

}

 

static void s3c_ts_timer_function(unsigned long data)

{

   if (s3c_ts_regs-"adcdat0 & (1""15))

   {

      // 已经松开 : 上报并且打印到proc去  

       * jiffies, type, code, value

       //

      input_report_abs(s3c_ts_dev, ABS_PRESSURE, 0);

      write_input_event_to_file(jiffies, EV_ABS, ABS_PRESSURE, 0);

      

      input_report_key(s3c_ts_dev, BTN_TOUCH, 0);

      write_input_event_to_file(jiffies, EV_KEY, BTN_TOUCH, 0);

 

      input_sync(s3c_ts_dev);

      write_input_event_to_file(jiffies, EV_SYN, SYN_REPORT, 0);

      

      enter_wait_pen_down_mode();

   }

   else

   {

      // 测量X/Y坐标 //

      enter_measure_xy_mode();

      start_adc();

   }

}

 

 

static irqreturn_t pen_down_up_irq(int irq, void *dev_id)

{

   if (s3c_ts_regs-"adcdat0 & (1""15))

   {

      //printk("pen up\n");

      input_report_abs(s3c_ts_dev, ABS_PRESSURE, 0);

      write_input_event_to_file(jiffies, EV_ABS, ABS_PRESSURE, 0);

 

      input_report_key(s3c_ts_dev, BTN_TOUCH, 0);

      write_input_event_to_file(jiffies, EV_KEY, BTN_TOUCH, 0);

 

      input_sync(s3c_ts_dev);

      write_input_event_to_file(jiffies, EV_SYN, SYN_REPORT, 0);

 

      enter_wait_pen_down_mode();

   }

   else

   {

      //printk("pen down\n");

      //enter_wait_pen_up_mode();

      enter_measure_xy_mode();

      start_adc();

   }

   return IRQ_HANDLED;

}

 

static irqreturn_t adc_irq(int irq, void *dev_id)

{

   static int cnt = 0;

   static int x[4], y[4];

   int adcdat0, adcdat1;

   

   

   // 优化措施2: 如果ADC完成时, 发现触摸笔已经松开, 则丢弃此次结果 //

   adcdat0 = s3c_ts_regs-"adcdat0;

   adcdat1 = s3c_ts_regs-"adcdat1;

 

   if (s3c_ts_regs-"adcdat0 & (1""15))

   {

      // 已经松开 //

      cnt = 0;

      input_report_abs(s3c_ts_dev, ABS_PRESSURE, 0);

      write_input_event_to_file(jiffies, EV_ABS, ABS_PRESSURE, 0);

      

      input_report_key(s3c_ts_dev, BTN_TOUCH, 0);

      write_input_event_to_file(jiffies, EV_KEY, BTN_TOUCH, 0);

      

      input_sync(s3c_ts_dev);

      write_input_event_to_file(jiffies, EV_SYN, SYN_REPORT, 0);

      

      enter_wait_pen_down_mode();

   }

   else

   {

      // printk("adc_irq cnt = %d, x = %d, y = %d\n", ++cnt, adcdat0 & 0x3ff, adcdat1 & 0x3ff);

      // 优化措施3: 多次测量求平均值 //

      x[cnt] = adcdat0 & 0x3ff;

      y[cnt] = adcdat1 & 0x3ff;

      ++cnt;

      if (cnt == 4)

      {

         // 优化措施4: 软件过滤 //

         if (s3c_filter_ts(x, y))

         {         

            //printk("x = %d, y = %d\n", (x[0]+x[1]+x[2]+x[3])/4, (y[0]+y[1]+y[2]+y[3])/4);

            input_report_abs(s3c_ts_dev, ABS_X, (x[0]+x[1]+x[2]+x[3])/4);

            write_input_event_to_file(jiffies, EV_ABS, ABS_X, (x[0]+x[1]+x[2]+x[3])/4);

 

            input_report_abs(s3c_ts_dev, ABS_Y, (y[0]+y[1]+y[2]+y[3])/4);

            write_input_event_to_file(jiffies, EV_ABS, ABS_Y, (y[0]+y[1]+y[2]+y[3])/4);

            

            input_report_abs(s3c_ts_dev, ABS_PRESSURE, 1);

            write_input_event_to_file(jiffies, EV_ABS, ABS_PRESSURE, 1);

 

            input_report_key(s3c_ts_dev, BTN_TOUCH, 1);

            write_input_event_to_file(jiffies, EV_KEY, BTN_TOUCH, 1);

 

            input_sync(s3c_ts_dev);

            write_input_event_to_file(jiffies, EV_SYN, SYN_REPORT, 0);

         }

         cnt = 0;

         enter_wait_pen_up_mode();

 

         // 启动定时器处理长按/滑动的情况 //

         mod_timer(&ts_timer, jiffies + HZ/100);

      }

      else

      {

         enter_measure_xy_mode();

         start_adc();

      }      

   }

   

   return IRQ_HANDLED;

}

 

static int s3c_ts_init(void)

{

   struct clk* clk;

 

   replay_buf = kmalloc(MYLOG_BUF_LEN, GFP_KERNEL);

   if (!replay_buf)

   {

      printk("can't alloc for mylog_buf\n");

      return -EIO;

   }

 

   

   // 1. 分配一个input_dev结构体 //

   s3c_ts_dev = input_allocate_device();

 

   // 2. 设置 //

   // 2.1 能产生哪类事件 //

   set_bit(EV_KEY, s3c_ts_dev-"evbit);

   set_bit(EV_ABS, s3c_ts_dev-"evbit);

 

   // 2.2 能产生这类事件里的哪些事件 //

   set_bit(BTN_TOUCH, s3c_ts_dev-"keybit);

 

   input_set_abs_params(s3c_ts_dev, ABS_X, 0, 0x3FF, 0, 0);

   input_set_abs_params(s3c_ts_dev, ABS_Y, 0, 0x3FF, 0, 0);

   input_set_abs_params(s3c_ts_dev, ABS_PRESSURE, 0, 1, 0, 0);

 

 

   // 3. 注册 //

   input_register_device(s3c_ts_dev);

 

   // 4. 硬件相关的操作 //

   // 4.1 使能时钟(CLKCON[15]) //

   clk = clk_get(NULL, "adc");

   clk_enable(clk);

   

   // 4.2 设置S3C2440的ADC/TS寄存器 //

   s3c_ts_regs = ioremap(0x58000000, sizeof(struct s3c_ts_regs));

 

   // bit[14]  : 1-A/D converter prescaler enable

    * bit[13:6]: A/D converter prescaler value,

    *            49, ADCCLK=PCLK/(49+1)=50MHz/(49+1)=1MHz

    * bit[0]: A/D conversion starts by enable. 先设为0

    //

   s3c_ts_regs-"adccon = (1""14)|(49""6);

 

   request_irq(IRQ_TC, pen_down_up_irq, IRQF_SAMPLE_RANDOM, "ts_pen", NULL);

   request_irq(IRQ_ADC, adc_irq, IRQF_SAMPLE_RANDOM, "adc", NULL);

 

   // 优化措施1: 

    * 设置ADCDLY为最大值, 这使得电压稳定后再发出IRQ_TC中断

    //

   s3c_ts_regs-"adcdly = 0xffff;

 

   // 优化措施5: 使用定时器处理长按,滑动的情况

    * 

    //

   init_timer(&ts_timer);

   ts_timer.function = s3c_ts_timer_function;

   add_timer(&ts_timer);

 

   enter_wait_pen_down_mode();

 

   major = register_chrdev(0, "input_replay", &replay_fops);

 

   cls = class_create(THIS_MODULE, "input_replay");

   device_create(cls, NULL, MKDEV(major, 0), "input_emu"); // /dev/input_emu //

 

   init_timer(&replay_timer);

   replay_timer.function = input_replay_timer_func;

   //add_timer(&replay_timer);

   

   return 0;

}

 

static void s3c_ts_exit(void)

{

   //del_timer(&replay_timer);

   

   kfree(replay_buf);

   device_destroy(cls, MKDEV(major, 0));

   class_destroy(cls);

   unregister_chrdev(major, "input_replay");

   

   free_irq(IRQ_TC, NULL);

   free_irq(IRQ_ADC, NULL);

   iounmap(s3c_ts_regs);

   input_unregister_device(s3c_ts_dev);

   input_free_device(s3c_ts_dev);

   del_timer(&ts_timer);

}

 

module_init(s3c_ts_init);

module_exit(s3c_ts_exit);

 

 

MODULE_LICENSE("GPL");

 

==================================================================

测试程序:

 

#include "sys/types.h"

#include "sys/stat.h"

#include "fcntl.h"

#include "stdio.h"

#include "poll.h"

#include "signal.h"

#include "sys/types.h"

#include "unistd.h"

#include "fcntl.h"

#include "stdlib.h"

#include "string.h"

 

#define INPUT_REPLAY   0

#define INPUT_TAG      1

 

// Usage:

//./input_replay write "file"

// ./input_replay replay

// ./input_repaly tag "string"

//

 

void print_usage(char *file)

{

   printf("Usage:\n");

   printf("%s write "file"\n", file);

   printf("%s replay\n", file);

   printf("%s tag "string"\n", file);

}

 

int main(int argc, char **argv)

{

   int fd;

   int fd_data;

   int buf[100];

   int len;

   

   if (argc != 2 && argc != 3)

   {

      print_usage(argv[0]);

      return -1;

   }

 

   fd = open("/dev/input_emu", O_RDWR);

   if (fd " 0)

   {

      printf("can't open /dev/input_emu\n");

      return -1;

   }

 

   if (strcmp(argv[1], "replay") == 0)

   {

      ioctl(fd, INPUT_REPLAY);

   }

   else if (strcmp(argv[1], "write") == 0)

   {

      if (argc != 3)

      {

         print_usage(argv[0]);

         return -1;

      }

 

      fd_data = open(argv[2], O_RDONLY);

      if (fd_data " 0)

      {

         printf("can't open %s\n", argv[2]);

         return -1;

      }

 

      while (1)

      {

         len = read(fd_data, buf, 100);

         if (len == 0)

         {

            printf("wite ok\n");

            break;

         }

         else

         {

            write(fd, buf, len);            

         }

      }

   }

   else if (strcmp(argv[1], "tag") == 0)

   {

      if (argc != 3)

      {

         print_usage(argv[0]);

         return -1;

      }

      ioctl(fd, INPUT_TAG, argv[2]);

   }

   else

   {

      print_usage(argv[0]);

      return -1;

   }

   return 0;  

}

 

================================================================

解析:

在触摸屏按下后上报事件是把按下时间、类型等打印到制定文件中,如/proc/mymsg中,然后再从/proc/mymsg中的数据还原回来重新上报显示。

 

在:触摸屏驱动程序(输入子系统)实验的基础上进行以下命令测试:

 

export TSLIB_TSDEVICE=/dev/event0

export TSLIB_CALIBFILE=/etc/pointercal

export TSLIB_CONFFILE=/etc/ts.conf

export TSLIB_PLUGINDIR=/lib/ts

export TSLIB_CONSOLEDEVICE=none

export TSLIB_FBDEVICE=/dev/fb0

 

insmod mymsg.ko               //加载自己写的myprintk驱动程序

insmod touch_emulate.ko  //触摸屏驱动程序

./emulate_test tag 100ask   //给保存在mymsg文件中的触摸数据加标记

cat /proc/mymsg                 //查看mymsg文件内容

ts_test                                    //测试触摸屏指令,指令此命令需要加载了触摸屏驱动程序以后才有效

随意的画线

cp /proc/mymsg /ts2.txt       //拷贝完成以后按ctrl+c键才能退出来

sudo chmod 777 ts.txt          //到服务器上执行该指令

./emulate_test write /ts.txt

ts_test &                                //用ps命令查看运行的ts_test 进程,可以用:kill -9 +进程号,指令来杀死进程

./emulate_test replay

 

 

注意:当程序在执行replay_get_line(line);函数获取一行数据出错时,始终返回有数据存在,那么del_timer(&replay_timer);函数就得不到执行,当卸载驱动重新加载新的驱动时,老的定时器变量依然存在,执行到add_timer(&replay_timer);系统会报错如下,只有系统复位才能解决问题。

kernel BUG at include/linux/timer.h:153!

Unable to handle kernel NULL pointer dereference at virtual address 0000000 pgd=c3f50000


推荐阅读

史海拾趣

FCT electronic公司的发展小趣事

FCT electronic公司始终坚持以客户需求为导向的服务理念。为了更好地满足客户的需求,公司不断推出新的服务模式和解决方案。例如,公司推出了定制化服务,根据客户的具体需求提供个性化的电路板解决方案;同时,FCT electronic公司还加强了售后服务体系建设,确保客户在使用过程中能够得到及时、专业的技术支持和服务。这些创新的服务模式使FCT electronic公司在客户中赢得了良好的口碑和信任。

GE Solid State公司的发展小趣事
按照电路图搭建电路,注意元件的连接方式和极性。
Emmoco公司的发展小趣事

在追求经济效益的同时,Emmoco也注重环保和可持续发展。公司积极采用环保材料和绿色生产工艺,降低生产过程中的能耗和排放。同时,Emmoco还积极参与环保公益活动,推动电子行业的绿色发展。这些举措不仅体现了Emmoco的社会责任感,也为公司的长期发展奠定了坚实的基础。

Asia Electronics Ind Co Ltd公司的发展小趣事

Asia Electronics Ind Co Ltd自成立以来,一直致力于电子技术的研发与创新。公司投入大量资源用于研发,不断推出具有市场竞争力的新产品。其中,公司成功开发的一款高效能、低功耗的电子产品,在市场上获得了广泛的认可。这款产品不仅满足了消费者对性能的需求,还顺应了绿色环保的发展趋势,为公司赢得了良好的口碑。

FINDER公司的发展小趣事

Asia Electronics Ind Co Ltd自成立以来,一直致力于电子技术的研发与创新。公司投入大量资源用于研发,不断推出具有市场竞争力的新产品。其中,公司成功开发的一款高效能、低功耗的电子产品,在市场上获得了广泛的认可。这款产品不仅满足了消费者对性能的需求,还顺应了绿色环保的发展趋势,为公司赢得了良好的口碑。

Dean Technology公司的发展小趣事

Dean Technology公司起源于上世纪80年代,当时电子行业正经历着飞速的发展。创始人凭借其深厚的电子技术背景和敏锐的市场洞察力,决定进入高压二极管领域。他带领研发团队不断攻克技术难题,成功推出了一系列性能稳定、品质可靠的高压二极管产品,奠定了公司在行业中的技术领先地位。

问答坊 | AI 解惑

程序员界的大杯具啊,有图有真相~

网友提供的《蜗居》第24集3:30秒截图,有理由相信小贝是搞 C++ 的。 桌子上那本书放大看是《大规模Cpp程序设计》,为无数想为 cpp献身的人士叹惜呀。搞了一辈子C++,结果老婆跟了宋思明。 这部电视剧深刻揭露了C++程序员的杯具性。相信这个重 ...…

查看全部问答>

紫砂鍋丑聞的奇想

本帖最后由 jameswangsynnex 于 2015-3-3 19:59 编辑 利用高損耗的磁珠鐵氧體材料制成的電磁感應砂鍋! …

查看全部问答>

请问关于做DMA驱动的一些问题

看了LDD里面DMA的东西还是不太明白 想做个ISA的驱动,按照书上的大概步骤就是 request_dma(); dad_dma_prepare();(书中的函数,一些准备) read部分 dad_dma_isdone(); (书中的函数,判断是否完成) free_dma(); 1. 不知道是不是这样一个 ...…

查看全部问答>

wince上用c#,不支持从资源取图片吗?

我希望把图片放到exe的资源里,不希望把图片单独拿出来 取资源里的BMP和png,一运行就找不到文件. 折腾了半天,怀疑是wince不支持? 请教大家. …

查看全部问答>

30岁开始学硬件,大家有什么好的建议

大学专业是电子方向的,只是所学甚少,不知不觉毕业也5个年头了,现在想再奋起一把,做一个优秀的硬件工程师,希望大家能给出一些好的建议,包括如何学习、推荐一些好书、速成的办法,或者评估一下可行性也好,提前谢谢大家了.…

查看全部问答>

关于MmMapIoSpace函数(高手们进来帮帮忙,在线等)

[code]         ULONG SIZE = 16;         //ULONG ADDRESS = 0x00000413;         PHYSICAL_ADDRESS ioPhysicalBase = {0x0000050F,0x00000500};         S ...…

查看全部问答>

嵌入式软件入门基础

   请问高手们,我是学硬件的在校学生,数电、模电、微原都学过,嵌入式软件入门需要哪些基础知识,我只会C语言,像数据结构、操作系统、编译原理、都要很清楚吗,linux嵌入式是不是要懂内核啊,一年的时间准备软件的知识够吗,听说理论 ...…

查看全部问答>

请教SD16问题

请问同行,那位知道MSP430中,那款芯片SD16是单通道多组输入端的,不像F425有3个通道 每个通道只有一组输入端。且一定要有LCD驱动的。谢谢!…

查看全部问答>

STM32 CRC 的使用(转载)

关于 STM32 CRC 的使用,网上有很多的文章,也对CRC算法进行深入探讨过,在这里只是简单介绍如果使用STM32 硬件CRC 和在PC端用软件校验CRC 1, STM32 硬件 CRC1.1, 先打开CRC硬件时钟:/* Enable CRC clock */RCC_AHBPeriphClockCmd(RCC_AHBPerip ...…

查看全部问答>

【遥控瓦力】瓦力机器人来了,它也要DIY遥控坦克了

子时团队最新DIY作品,【遥控瓦力】出炉了,来到EE首发,希望大家喜欢。 先给大家上段视频,我们的瓦力机器人也要DIY遥控坦克了,快来跟随我们一起欣赏吧。 $(\'swf_P0s\').innerHTML=AC_FL_RunContent(\'width\', \'550\', \'height\', \'400\', ...…

查看全部问答>