Add qemuarmv7a machine cmake file

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@palm.com>

Change-Id: Iad5fea5b1ba3e5ffa67f163f85813a3cc15038c1
Reviewed-on: http://g2g.palm.com/749
Tested-by: Sapna Todwal <sapna.todwal@palm.com>
Reviewed-by: Iyad Qumei <iyad.qumei@palm.com>
Tested-by: Iyad Qumei <iyad.qumei@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Add device_info module for the emulators

Also, correct build dependencies listed in README.md .

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@palm.com>

Change-Id: Iff1d738fa4d839e24cdb4ac4ffe0801cb6295e22
Reviewed-on: http://g2g.palm.com/767
Reviewed-by: Build Verification
Tested-by: Sapna Todwal <sapna.todwal@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
Reviewed-by: Sapna Todwal <sapna.todwal@palm.com>
Add implementations for system_reboot reason argument

The nyx_system_reboot API was extended with a reason argument, and this
task implements that

Also increment component version to 3.0.0

Open-webOS-DCO-1.0-Signed-off-by: Janne Hurskainen <janne.hurskainen@palm.com>
Open-webOS-DCO-1.0-signed-off-by: Keith Derrick <keith.derrick@palm.com>

Change-Id: Icb4a172de52962a9b4989f47e6d2c5a120ec0b6f
Reviewed-on: http://g2g.palm.com/854
Reviewed-by: Build Verification
Tested-by: Keith Derrick <keith.derrick@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Conform to nascent nyx-lib 3.0.0 API

- Remove support for deleted device_info types
- Add "reason" argument to nyx_system_shutdown for symmetry with
  nyx_system_reboot.

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@palm.com>

Change-Id: I556f4252dd4c38fb20a6ea99199b3cd14a3844d9
Reviewed-on: http://g2g.palm.com/865
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Reviewed-by: Sapna Todwal <sapna.todwal@palm.com>
Fix popup alert not showing for events in calendar

Open-webOS-DCO-1.0-Signed-off-by: Pekka Ropo <pekka.ropo@palm.com>

Change-Id: Ic72366750fa92ccc17500ac79de976d8213987ae
Reviewed-on: http://g2g.palm.com/913
Reviewed-by: Build Verification
Reviewed-by: Pekka Ropo <pekka.ropo@palm.com>
Tested-by: Pekka Ropo <pekka.ropo@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Update for Mass Storage Mode now being a separate device

- Increment version number to 4.0.0
- Emulator doesn't support Mass Storage Mode, so don't add code to
  create the new device
- Remove all Mass Storage Mode related functionality from System device
- Update nyx-lib version dependency in README.md

Open-webOS-DCO-1.0-Signed-off-by: Pekka Ropo <pekka.ropo@palm.com>

Change-Id: I4e615d6dc8569d095cf7a86a56b334407d8596d3
Reviewed-on: http://g2g.palm.com/1219
Reviewed-by: Build Verification
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Add device_info_internal_t to device_info_generic.c.in

Open-webOS-DCO-1.0-Signed-off-by: Pekka Ropo <pekka.ropo@palm.com>

Change-Id: Ica2d7f43c16a18d7626f0b30001b12ac2749d46e
Reviewed-on: http://g2g.palm.com/1247
Reviewed-by: Build Verification
Tested-by: Pekka Ropo <pekka.ropo@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Add support for virtualbox touchpanel touch events

Open-webOS-DCO-1.0-Signed-off-by: Janne Kiiski <janne.kiiski@palm.com>

Change-Id: I9b8b1ce413aad270d577470ebcd0c4693f6798f4
Reviewed-on: http://g2g.palm.com/1271
Reviewed-by: Build Verification
Reviewed-by: Janne Kiiski <janne.kiiski@palm.com>
Tested-by: Janne Kiiski <janne.kiiski@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Use BTN_LEFT instead of BTN_MOUSE in VirtualBox

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@palm.com>

Change-Id: Icd327ea1deb75e6401a7108ed435fc89038f363c
Reviewed-on: http://g2g.palm.com/1311
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Reviewed-by: Sapna Todwal <sapna.todwal@palm.com>
Support keyboard in VirtuablBox image

qemux86 and Virtual Box use different eventX inputs for the keyboard
and touchpanel device.

In order for the same build to work with both:

- Add udev rule to link to the correct touchpanel event
- Add udev rule to create a keyboard0 symlink to the correct device
- Use keyboard0 instead of an explicit eventX for key input

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@palm.com>

Change-Id: Ia7d003af791969f68d9ce2a6b6094abe3e3c3b44
Reviewed-on: http://g2g.palm.com/1312
Reviewed-by: Build Verification
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Reviewed-by: Sapna Todwal <sapna.todwal@palm.com>
Enable mouse pointer on virtualbox qemux86 image

Open-webOS-DCO-1.0-Signed-off-by: Sapna Todwal <sapna.todwal@palm.com>

Change-Id: Ie73e7a428b3224a107479c8bbf85b4b91528e7a1
Reviewed-on: http://g2g.palm.com/1356
Reviewed-by: Build Verification
Tested-by: Sapna Todwal <sapna.todwal@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Fix possible buffer overrun bug

- Use strncpy instead of strcpy

Open-webOS-DCO-1.0-Signed-off-by: Pekka Ropo <pekka.ropo@palm.com>

Change-Id: I8b0367adb9a4240382ba31fa9ddb086566913353
Reviewed-on: http://g2g.palm.com/1497
Reviewed-by: Build Verification
Tested-by: Pekka Ropo <pekka.ropo@palm.com>
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Merge git://github.com/openwebos/nyx-modules into udev

Conflicts:
	src/machine/qemuarm.cmake
	src/machine/qemux86.cmake
	src/rockhopper/system/rtc.c