summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge change 9366Android (Google) Code Review2009-07-313-0/+99
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Implement op=.
| * | | | Implement op=.Jack Palevich2009-07-313-0/+99
| | | | |
* | | | | Merge change 9365Android (Google) Code Review2009-07-312-1/+47
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Test multiple levels of pointer indirection.
| * | | | Test multiple levels of pointer indirection.Jack Palevich2009-07-312-1/+47
| | | | |
* | | | | Merge change 9364Android (Google) Code Review2009-07-311-23/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Assignment in ordinary expressions is now handled using lvals and rvals.
| * | | | Assignment in ordinary expressions is now handled using lvals and rvals.Jack Palevich2009-07-301-23/+19
| | | | |
* | | | | Merge change 9363Android (Google) Code Review2009-07-311-19/+60
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Start using lvals and rvals.
| * | | | Start using lvals and rvals.Jack Palevich2009-07-301-19/+60
| | | | |
* | | | | Merge change 9362Android (Google) Code Review2009-07-311-119/+11
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Change assignment code gen to use leaR0 .. storeR0ToTOS.
| * | | | Change assignment code gen to use leaR0 .. storeR0ToTOS.Jack Palevich2009-07-301-119/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | am cc1de48d: adb: Another attempted workaround for the adb disconnect problem.Mike Lockwood2009-07-301-11/+81
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | | | | | | | | Merge commit 'cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad' * commit 'cc1de48dcdf06c76ee14abbe2a237aa51b5b3bad': adb: Another attempted workaround for the adb disconnect problem.
| * | | adb: Another attempted workaround for the adb disconnect problem.Mike Lockwood2009-07-301-11/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Fix bad ARM code generation for '||' and '&&' operators.Jack Palevich2009-07-303-1/+60
| | | | | | | | | | | | | | | | Add tests of '&', '&&', '|' and '||' operators.
* | | | Load function symbols using lea syntax.Jack Palevich2009-07-292-49/+98
| | | | | | | | | | | | | | | | Use a common code path for ordinary, forward, and indirect calls.
* | | | Remove loadR0 in favor of lea + loadR0FromR0.Jack Palevich2009-07-291-140/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (This is another small step towards lval/rval.) + Use strd to store local doubles. + loadR0FromR0 now handles pointers.
* | | | Implement inc/dec in a more lval-friendly way.Jack Palevich2009-07-293-32/+125
| | | |
* | | | Adjust stack alignment for local variables to work more like arguments.Jack Palevich2009-07-271-7/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | add log tags for backup/restore eventsDan Egnor2009-07-271-42/+54
| | | |
* | | | Add Bluetooth PBAP service.Jaikumar Ganesh2009-07-261-0/+6
| | | |
* | | | reconcile korg/master into goog/masterJean-Baptiste Queru2009-07-260-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge korg/donut into korg/masterJean-Baptiste Queru2009-07-25163-4012/+8929
| |\ \ \
* | \ \ \ am de6f62a6: Add support for Samsung and Motorola devices.Xavier Ducrohet2009-07-242-3/+13
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Merge commit 'de6f62a609120c3d9e4e53689c3b309842ec874b' * commit 'de6f62a609120c3d9e4e53689c3b309842ec874b': Add support for Samsung and Motorola devices.
| * | | | Add support for Samsung and Motorola devices.Xavier Ducrohet2009-07-242-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also update the linux code. Some devices have more complex USB descriptors which can't be parsed with the simple assumption of just skipping the endpoint descriptors.
* | | | | am d52f54c4: install recovery image using patch mechanismDoug Zongker2009-07-231-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd52f54c4552d2f35b3c2c2ac60350ac83760222f' * commit 'd52f54c4552d2f35b3c2c2ac60350ac83760222f': install recovery image using patch mechanism
| * | | | install recovery image using patch mechanismDoug Zongker2009-07-231-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | With the corresponding change in build/tools, the recovery image is installed via a shell script that is emitted by the OTA builder.
* | | | Keep track of the current arena.Jack Palevich2009-07-231-51/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This means we don't have to pass it around as an argument. This change was made because I'm about to start creating pointer types during expression evaluation, and I didn't want to add an arena argument to all the expression functions.
* | | | Fix the ARM postdecrement operator.Jack Palevich2009-07-233-8/+58
| | | | | | | | | | | | | | | | Add a test for ++ and -- so this bug won't happen again.
* | | | Merge change 7792Android (Google) Code Review2009-07-171-124/+153
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Code generator cleanup
| * | | | Code generator cleanupJack Palevich2009-07-171-124/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Factor ARM integer binary operation setup code into a function. Don't pass redundant pType information into loadR0FromR0, storeR0ToTOS, gcmp, gUnaryCmp, li Separate inc/dec from variable loading. Generates worse code, but now we handle pointer inc/dec and char inc/dec.
* | | | | Merge change 7791Android (Google) Code Review2009-07-171-24/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Remove unused logging code.
| * | | | Remove unused logging code.Jack Palevich2009-07-171-24/+0
| | | | |
* | | | | Merge change 7790Android (Google) Code Review2009-07-171-5/+24
|\| | | | | | | | | | | | | | | | | | | | | | | | * changes: Track lvalues vs. rvalues.
| * | | | Track lvalues vs. rvalues.Jack Palevich2009-07-171-5/+24
| | | | |
* | | | | am 1f278215: vold: If we\'re bootstrapping, don\'t automatically mount the ↵San Mehat2009-07-177-18/+40
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SD card. Also fixes some error display bugs (our printf doesnt support %m) Merge commit '1f27821568065715d3235c0e690c42d0d7a413bc' * commit '1f27821568065715d3235c0e690c42d0d7a413bc': vold: If we're bootstrapping, don't automatically mount the SD card. Also fixes some
| * | | | vold: If we're bootstrapping, don't automatically mount the SD card. Also ↵San Mehat2009-07-167-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes some error display bugs (our printf doesnt support %m) Signed-off-by: San Mehat <san@google.com>
* | | | | am d8221d98: vold: vfat: Run up to 3 passes of the disk checker when the ↵San Mehat2009-07-171-22/+49
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | checker indicates the FS has been modified. Also create LOST.DIR if it doesn\'t exist on mount. Merge commit 'd8221d9869f9fe1031219e8f6cbcef0771d767fa' * commit 'd8221d9869f9fe1031219e8f6cbcef0771d767fa': vold: vfat: Run up to 3 passes of the disk checker when the checker
| * | | | vold: vfat: Run up to 3 passes of the disk checker when the checkerSan Mehat2009-07-161-22/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indicates the FS has been modified. Also create LOST.DIR if it doesn't exist on mount. Signed-off-by: San Mehat <san@google.com>
* | | | | am b6e70d87: vold: Allow a damaged volume to be re-evaluated for mountingSan Mehat2009-07-171-2/+1
|\| | | | | |/ / / |/| | | | | | | | | | | | | | | | | | | Merge commit 'b6e70d877886bf363c5789456dcc00bb3f271c95' * commit 'b6e70d877886bf363c5789456dcc00bb3f271c95': vold: Allow a damaged volume to be re-evaluated for mounting
| * | | vold: Allow a damaged volume to be re-evaluated for mountingSan Mehat2009-07-161-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | | Report error (rather than crashing) when a declaration name is missing.Jack Palevich2009-07-161-9/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repo case: void main() { int ); }
* | | | Coerce R0 to destination type before storing it into a variable.Jack Palevich2009-07-163-15/+33
| | | |
* | | | Implement a "#line" directive.Jack Palevich2009-07-161-40/+44
| | | |
* | | | Detect assignments to undeclared variables.Jack Palevich2009-07-161-13/+27
| | | | | | | | | | | | | | | | Previously we only detected reading from undefined variables.
* | | | If the compile failed, return NULL from symbol lookups.Jack Palevich2009-07-161-7/+11
| | | |
* | | | Merge change 7495Android (Google) Code Review2009-07-151-1/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Improve error handling
| * | | | Improve error handlingJack Palevich2009-07-151-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't segfault if the right-hand operand of a binary operator is missing. Don't segfault if a semicolon is missing at the end of a forward declaration.
* | | | | Merge change 7456Android (Google) Code Review2009-07-151-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: init: Change owner of /dev/uinput to system
| * | | | | init: Change owner of /dev/uinput to systemKen Schultz2009-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow the the uinput driver to be used by the system process as well as bluetooth, which is needed for sensors. Signed-off-by: Ken Schultz <kschultz@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | Merge change 7464Android (Google) Code Review2009-07-153-49/+103
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | * changes: Improve numerical constant parsing.
| * | | | Improve numerical constant parsing.Jack Palevich2009-07-153-49/+103
| | | | |