Commit graph

569 commits

Author SHA1 Message Date
Mathias Agopian
665a2227e5 we actually have to saturate when doing premultilied blending with opengl 2009-08-07 13:01:46 -07:00
San Mehat
6bc6794f97 am ee40fc4e: rootdir: init.rc: Bump up background cpu shares to 5.0%
Merge commit 'ee40fc4e64e1656a16603778bee895ea389ec7d5'

* commit 'ee40fc4e64e1656a16603778bee895ea389ec7d5':
  rootdir: init.rc: Bump up background cpu shares to 5.0%
2009-08-06 15:02:33 -07:00
San Mehat
ee40fc4e64 rootdir: init.rc: Bump up background cpu shares to 5.0%
Signed-off-by: San Mehat <san@google.com>
2009-08-06 14:13:35 -07:00
Mike Lockwood
781d041892 adb: Remove adbd from simulator build.
It no longer compiles without recent kernel headers.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-06 10:58:00 -04:00
Android (Google) Code Review
161de4e321 Merge change 20039
* changes:
  adb: add "adb reboot" command.
2009-08-05 15:02:54 -07:00
Mike Lockwood
ee15662140 adb: add "adb reboot" command.
This will allow rebooting the device via adb on any build, including user builds.
An optional argument can be provided
(for example, "adb reboot bootloader" or adb reboot recovery")

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-05 17:57:20 -04:00
Android (Google) Code Review
b230e42657 Merge change 20154
* changes:
  Added defines for <stdint.h> and <stdbool.h>.
2009-08-05 14:34:39 -07:00
Andy McFadden
656a816298 Added defines for <stdint.h> and <stdbool.h>.
This adds HAVE_STDINT_H and HAVE_STDBOOL_H to the configuration.  We've
been using HAVE_STDINT_H for a while but just never bothered to define
it, and we're about to start using HAVE_STDBOOL_H.

I enabled them for the linux and darwin targets, and left it undefined
for freebsd/windows.
2009-08-05 14:14:32 -07:00
Android (Google) Code Review
c91cf8be46 Merge change 20109
* changes:
  init: /dev/diag, /dev/diag_arm9 now owned by AID_RADIO
2009-08-05 14:09:26 -07:00
Mike Lockwood
09070d9e86 fastboot: Add support for Motorola USB vendor ID.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-05 17:04:36 -04:00
Iliyan Malchev
6ed11ebecd init: /dev/diag, /dev/diag_arm9 now owned by AID_RADIO
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-05 09:50:12 -07:00
Android (Google) Code Review
c98c2b8970 Merge change 20021
* changes:
  Support 2D arrays.
2009-08-04 15:40:20 -07:00
Jack Palevich
80e4972625 Support 2D arrays. 2009-08-04 15:39:49 -07:00
Android (Google) Code Review
304176c909 Merge change 20014
* changes:
  Implement arrays.
2009-08-04 14:56:12 -07:00
Jack Palevich
b61545096d Implement arrays.
Added check to see that pointer types are compatible when passing function
arguments.
2009-08-04 14:56:09 -07:00
Android (Google) Code Review
2b9a6ce08e Merge change 9647
* changes:
  init: Add hw3d master/client nodes to device list.
2009-08-04 13:54:35 -07:00
Jean-Baptiste Queru
aa027b4668 merge from open-source master 2009-08-04 09:00:31 -07:00
Dima Zavin
46e8863d77 init: Add hw3d master/client nodes to device list.
Signed-off-by: Dima Zavin <dima@android.com>
2009-08-03 23:05:29 -07:00
Android (Google) Code Review
9af41c4dac Merge change 9594
* changes:
  init: add permissions for /dev/diag and /dev/diag_arm9
2009-08-03 20:26:30 -07:00
Iliyan Malchev
ce62102feb init: add permissions for /dev/diag and /dev/diag_arm9
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-03 20:22:55 -07:00
Jack Palevich
c9b8ffc389 Add support for "short" data type. 2009-08-03 14:42:57 -07:00
Jean-Baptiste Queru
1f7aceb222 merge from donut 2009-08-03 07:45:49 -07:00
Android (Google) Code Review
029c7f81a9 Merge change 9407
* changes:
  Fix parsing of function declarations that return pointers.
2009-07-31 15:59:59 -07:00
Jack Palevich
96138992ac Fix parsing of function declarations that return pointers.
Check that <op>= only evaluates the left-hand-side once.
2009-07-31 15:58:19 -07:00
Android (Google) Code Review
84c7966eed Merge change 9402
* changes:
  Support brackets for accessing array values.
2009-07-31 15:30:54 -07:00
Android (Google) Code Review
6342dbd4cd Merge change 9401
* changes:
  Clean up the way we handle postfix operators.
2009-07-31 15:30:23 -07:00
Android (Google) Code Review
61c00b8203 Merge change 9400
* changes:
  Implement pre-increment / pre-decrement
2009-07-31 15:30:07 -07:00
Android (Google) Code Review
e62b6ea3e0 Merge change 9399
* changes:
  Support the comma operator.
2009-07-31 15:29:42 -07:00
Jack Palevich
47cbea9c69 Support brackets for accessing array values.
Don't yet support allocating arrays.
2009-07-31 15:25:53 -07:00
Jack Palevich
5b65909f93 Clean up the way we handle postfix operators.
Function names are now treated just like any other variable.
2009-07-31 14:55:07 -07:00
Jack Palevich
aaac9284b4 Implement pre-increment / pre-decrement 2009-07-31 14:34:34 -07:00
Jack Palevich
43aaee31b9 Support the comma operator. 2009-07-31 14:01:37 -07:00
Android (Google) Code Review
95f2af6d23 Merge change 9366
* changes:
  Implement op=.
2009-07-31 12:06:17 -07:00
Android (Google) Code Review
18f275a901 Merge change 9365
* changes:
  Test multiple levels of pointer indirection.
2009-07-31 12:05:53 -07:00
Android (Google) Code Review
460675eb91 Merge change 9364
* changes:
  Assignment in ordinary expressions is now handled using lvals and rvals.
2009-07-31 12:05:22 -07:00
Android (Google) Code Review
bb75dcc1e6 Merge change 9363
* changes:
  Start using lvals and rvals.
2009-07-31 12:04:56 -07:00
Android (Google) Code Review
b10177ad48 Merge change 9362
* changes:
  Change assignment code gen to use leaR0 .. storeR0ToTOS.
2009-07-31 12:03:20 -07:00
Jack Palevich
0c01774816 Implement op=. 2009-07-31 12:00:39 -07:00
Jack Palevich
beb4fe95a0 Test multiple levels of pointer indirection. 2009-07-31 11:27:29 -07:00
Jack Palevich
29daf577a1 Assignment in ordinary expressions is now handled using lvals and rvals. 2009-07-30 19:38:55 -07:00
Jack Palevich
b5e3331159 Start using lvals and rvals. 2009-07-30 19:06:34 -07:00
Jack Palevich
8968e8e115 Change assignment code gen to use leaR0 .. storeR0ToTOS.
This is another step towards being able to handle lval / rvals.

Improved storeR0ToTOS to convert R0 to the proper type to store into
*TOS. (This is something that storeR0 was already doing.)

Removed storeR0 as it is no longer being used.
2009-07-30 16:57:33 -07:00
Mike Lockwood
1f4ff53517 am cc1de48d: adb: Another attempted workaround for the adb disconnect problem.
Merge commit 'cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad'

* commit 'cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad':
  adb: Another attempted workaround for the adb disconnect problem.
2009-07-30 16:31:40 -07:00
Mike Lockwood
cc1de48dcd adb: Another attempted workaround for the adb disconnect problem.
For adb shell commands (as well as shell based commands like logcat and bugreport) we now
batch USB writes into 4K chunks instead of sending small packets of data as they come in.
A timeout prevents us from blocking for more than 100ms when our 4K buffer is partially full.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-30 16:23:56 -07:00
Jack Palevich
8f361faffc Fix bad ARM code generation for '||' and '&&' operators.
Add tests of '&', '&&', '|' and '||' operators.
2009-07-30 16:19:43 -07:00
Jack Palevich
9f51a26961 Load function symbols using lea syntax.
Use a common code path for ordinary, forward, and indirect calls.
2009-07-29 16:22:26 -07:00
Jean-Baptiste Queru
a86835965e merge from donut 2009-07-29 14:57:08 -07:00
Jack Palevich
a7813bda4a Remove loadR0 in favor of lea + loadR0FromR0.
(This is another small step towards lval/rval.)

+ Use strd to store local doubles.
+ loadR0FromR0 now handles pointers.
2009-07-29 11:36:04 -07:00
Jack Palevich
ddf7c9c141 Implement inc/dec in a more lval-friendly way. 2009-07-29 10:28:18 -07:00
Jack Palevich
7fcdf1c5f8 Adjust stack alignment for local variables to work more like arguments.
This makes it easier to generate frame-pointer-relative addresses for ARM.

Prior to this we had stored char sized local variables in the highest
address of the 4-byte stack allocation. Now we store "char"s in the
lowest address of the 4-byte stack allocation, just like chars are
passed as arguments.

We now store global chars on byte boundaries.
2009-07-27 17:54:10 -07:00