Changes between Version 54 and Version 55 of Developer/Simulators/QEMU/CANEmulation


Ignore:
Timestamp:
Aug 16, 2013, 8:10:47 PM (7 years ago)
Author:
C Rempel
Comment:

/* qemu-char.c */

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Simulators/QEMU/CANEmulation

    v54 v55  
    392392 +}
    393393 
     394Next, add a device to the character device table, so that the device can be called when qemu is called.
     395
     396'''Note:''' add the use-case here.
     397
     398 /* character device */
     399 
     400 @@ -2992,6 +3067,7 @@ static CharDriverState *qemu_chr_open_pp(QemuOpts *opts)
     401      { .name = "serial",    .open = qemu_chr_open_win },
     402      { .name = "stdio",     .open = qemu_chr_open_win_stdio },
     403 #else
     404 +    { .name = "can",       .open = qemu_chr_open_can },
     405      { .name = "file",      .open = qemu_chr_open_file_out },
     406      { .name = "pipe",      .open = qemu_chr_open_pipe },
     407      { .name = "stdio",     .open = qemu_chr_open_stdio },
     408
    394409The above is an OLD one. You can get some newer update at [http://jin-yang.github.io/2013/07/24/build-minimal-linux-environment.html JinYang's Blog].
    395410=  Running the Example  =