<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_frameworks_rs/cpu_ref/rsCpuScript.h, branch cm-13.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/'/>
<entry>
<title>Skip the checksum if we have precompiled code on the /system/ partition.</title>
<updated>2015-06-23T22:45:31+00:00</updated>
<author>
<name>Stephen Hines</name>
<email>srhines@google.com</email>
</author>
<published>2015-06-22T21:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=7427a2546ecfa904cb4e580981f0419c628fc416'/>
<id>7427a2546ecfa904cb4e580981f0419c628fc416</id>
<content type='text'>
Bug: 20894664

The system partition is read-only, and can/should be compiled correctly
during the offline creation of the system image. Since we cannot replace
these precompiled blobs (short of app update/OTA), there is no reason or
correct way to validate/replace the checksum.

Change-Id: Ia66bfdbe178bf215e146c3699f5bc7804222e978
(cherry picked from commit 6a236ad3a3760e8124b68a1b6220ed6e4fbfb152)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 20894664

The system partition is read-only, and can/should be compiled correctly
during the offline creation of the system image. Since we cannot replace
these precompiled blobs (short of app update/OTA), there is no reason or
correct way to validate/replace the checksum.

Change-Id: Ia66bfdbe178bf215e146c3699f5bc7804222e978
(cherry picked from commit 6a236ad3a3760e8124b68a1b6220ed6e4fbfb152)
</pre>
</div>
</content>
</entry>
<entry>
<title>Update RS driver to support extraction of global variable properties.</title>
<updated>2015-05-22T22:50:43+00:00</updated>
<author>
<name>Stephen Hines</name>
<email>srhines@google.com</email>
</author>
<published>2015-05-21T01:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=0e5d9f637a9ed4207582edb51e200912d8bf54cb'/>
<id>0e5d9f637a9ed4207582edb51e200912d8bf54cb</id>
<content type='text'>
Bug: 20306487

This patch adds some new enums to classify properties (such as "static",
"constant", and "pointer") for global variables. The reference driver
is also extended to provide methods to examine these properties (when
the bitcode is compiled with bcc).

Change-Id: I331756f8a8990caf5ebdf85599060434a7cfdcb7
(cherry picked from commit 5aa018cc36e589b07674957714d27ae3d1fa1c4e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 20306487

This patch adds some new enums to classify properties (such as "static",
"constant", and "pointer") for global variables. The reference driver
is also extended to provide methods to examine these properties (when
the bitcode is compiled with bcc).

Change-Id: I331756f8a8990caf5ebdf85599060434a7cfdcb7
(cherry picked from commit 5aa018cc36e589b07674957714d27ae3d1fa1c4e)
</pre>
</div>
</content>
</entry>
<entry>
<title>Use "override" instead of "virtual" when replacing methods.</title>
<updated>2015-05-22T22:50:25+00:00</updated>
<author>
<name>Stephen Hines</name>
<email>srhines@google.com</email>
</author>
<published>2015-05-14T02:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=a66bf6ae6b8dc17f445090ebefd3c6cf9f4685c0'/>
<id>a66bf6ae6b8dc17f445090ebefd3c6cf9f4685c0</id>
<content type='text'>
Bug: 20306487

Change-Id: Ic83cb04cac153a7556f5d516e8f5ec88b5527b6f
(cherry picked from commit c060f1435e7b9405f3be8974417fa6f410f03753)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 20306487

Change-Id: Ic83cb04cac153a7556f5d516e8f5ec88b5527b6f
(cherry picked from commit c060f1435e7b9405f3be8974417fa6f410f03753)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add /system/vendor/{lib|lib64} to linker args</title>
<updated>2015-05-11T20:21:25+00:00</updated>
<author>
<name>Pirama Arumuga Nainar</name>
<email>pirama@google.com</email>
</author>
<published>2015-05-07T22:52:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=21732f493bd56ed83fb27f8823a66910ecbcf870'/>
<id>21732f493bd56ed83fb27f8823a66910ecbcf870</id>
<content type='text'>
Add vendor-specific lib directory to ld.mc's library search path.  Since
ld.mc takes multiple search directories, there is no need to derive a
single path at runtime.

bug 20894664

Change-Id: Id62d2acbd94914c70bf4668f553a94a33e2a0587
(cherry-pick 682672e36b05349bc4d9dee74e9fab73ce804183 from AOSP)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add vendor-specific lib directory to ld.mc's library search path.  Since
ld.mc takes multiple search directories, there is no need to derive a
single path at runtime.

bug 20894664

Change-Id: Id62d2acbd94914c70bf4668f553a94a33e2a0587
(cherry-pick 682672e36b05349bc4d9dee74e9fab73ce804183 from AOSP)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add RSGlobalInfoPass information to RS driver.</title>
<updated>2015-05-07T22:22:18+00:00</updated>
<author>
<name>Stephen Hines</name>
<email>srhines@google.com</email>
</author>
<published>2015-04-29T01:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=a874c96bef8428131b83345dd92f37d8ce246d4e'/>
<id>a874c96bef8428131b83345dd92f37d8ce246d4e</id>
<content type='text'>
Bug: 20306487

This change enables vendor drivers to configure support for including
additional information about global variables in the emitted CPU code.
This information includes the number of total global variables, the
names of these variables, the addresses of these variables and the
sizes of these variables. The driver can also select whether the
information includes constant (immutable) globals or not.

The reference driver defaults to embedding information about each of
the existing, non-constant global variables.

Change-Id: I1e55fc3f08e518f04eeee3e4f9dc7b6ea3b80d7c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 20306487

This change enables vendor drivers to configure support for including
additional information about global variables in the emitted CPU code.
This information includes the number of total global variables, the
names of these variables, the addresses of these variables and the
sizes of these variables. The driver can also select whether the
information includes constant (immutable) globals or not.

The reference driver defaults to embedding information about each of
the existing, non-constant global variables.

Change-Id: I1e55fc3f08e518f04eeee3e4f9dc7b6ea3b80d7c
</pre>
</div>
</content>
</entry>
<entry>
<title>Dedup checksum calculation routines</title>
<updated>2015-04-16T22:29:11+00:00</updated>
<author>
<name>Yang Ni</name>
<email>yangni@google.com</email>
</author>
<published>2015-04-16T17:27:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=cb17015fed6b11a5028f31cc804a3847e379945d'/>
<id>cb17015fed6b11a5028f31cc804a3847e379945d</id>
<content type='text'>
I introduced a separate routine to cacluate checksum for ScriptGroup
in my previous CL, in addition to the one we use for regular scripts.
This CL removes the new one and uses the old one.

While I am on it, I made some other minor changes, e.g., changing
mBuildChecksum in RsdCpuScriptIml from char* to uint32_t, and a few
other minor cleanups in ScriptGroup2 implementation.

Change-Id: I168fdbb4e7bd14f1549a687e7b0d0ca6dd4da866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I introduced a separate routine to cacluate checksum for ScriptGroup
in my previous CL, in addition to the one we use for regular scripts.
This CL removes the new one and uses the old one.

While I am on it, I made some other minor changes, e.g., changing
mBuildChecksum in RsdCpuScriptIml from char* to uint32_t, and a few
other minor cleanups in ScriptGroup2 implementation.

Change-Id: I168fdbb4e7bd14f1549a687e7b0d0ca6dd4da866
</pre>
</div>
</content>
</entry>
<entry>
<title>Compute checksum for script group generated code</title>
<updated>2015-04-14T17:15:54+00:00</updated>
<author>
<name>Yang Ni</name>
<email>yangni@google.com</email>
</author>
<published>2015-04-07T23:00:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=f02a2b0a2749d4a4f07edbc23eddff2e51d11b72'/>
<id>f02a2b0a2749d4a4f07edbc23eddff2e51d11b72</id>
<content type='text'>
Change-Id: I5f469266fd11b5031d1357f356ac40e00f5c0348
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5f469266fd11b5031d1357f356ac40e00f5c0348
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass RsExpandKernelDriverInfo not RsExpandKernelParams.</title>
<updated>2015-03-16T18:18:38+00:00</updated>
<author>
<name>David Gross</name>
<email>dgross@google.com</email>
</author>
<published>2015-03-12T22:23:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=b0abb140ac51b93d1a85aadaa63fe057f2d29850'/>
<id>b0abb140ac51b93d1a85aadaa63fe057f2d29850</id>
<content type='text'>
Which is to say: retire RsExpandKernelParams and pass RsExpandKernelDriverInfo
directly to kernel wrapper functions instead.

Requires related change in frameworks/compile/libbcc.

Change-Id: I453f45ec18f389e88e27fcfa57ddf245d077cb98
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Which is to say: retire RsExpandKernelParams and pass RsExpandKernelDriverInfo
directly to kernel wrapper functions instead.

Requires related change in frameworks/compile/libbcc.

Change-Id: I453f45ec18f389e88e27fcfa57ddf245d077cb98
</pre>
</div>
</content>
</entry>
<entry>
<title>Runtime support for Script Group as single module</title>
<updated>2015-03-10T22:26:25+00:00</updated>
<author>
<name>Yang Ni</name>
<email>yangni@google.com</email>
</author>
<published>2015-02-20T23:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=062c287f573ecc06c38ee4295e5627e12c52ac3d'/>
<id>062c287f573ecc06c38ee4295e5627e12c52ac3d</id>
<content type='text'>
Also made two other cleanups:
- Changed KernelID/InvokeID into IDBase in class Closure
    Rather than having two fields in class Closure, one of type ScriptKernelID and
    the other InovkeID, use a single field of the common base class IDBase. Added a
    boolean field to indicate whether it is kernel or invoke, since -fno-rtti is on.
- Removed user pointer from CPU closure

Change-Id: I5553f86b2e58325f85649078d48685a38f12d62f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also made two other cleanups:
- Changed KernelID/InvokeID into IDBase in class Closure
    Rather than having two fields in class Closure, one of type ScriptKernelID and
    the other InovkeID, use a single field of the common base class IDBase. Added a
    boolean field to indicate whether it is kernel or invoke, since -fno-rtti is on.
- Removed user pointer from CPU closure

Change-Id: I5553f86b2e58325f85649078d48685a38f12d62f
</pre>
</div>
</content>
</entry>
<entry>
<title>Add build fingerprint and ensure match on .so load</title>
<updated>2015-03-04T00:01:09+00:00</updated>
<author>
<name>Pirama Arumuga Nainar</name>
<email>pirama@google.com</email>
</author>
<published>2015-02-14T04:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_frameworks_rs/commit/?id=aa6757ffc1b23d771566439c3179fdbc1e5ba569'/>
<id>aa6757ffc1b23d771566439c3179fdbc1e5ba569</id>
<content type='text'>
bug 19216507

If ro.debuggable system property is set,
- Compute the Adler32 checksum of bitcode, compiler arguments, bcc,
  libclcore files.
- On shared object load, check that there is an embedded checksum value
  in .rs.info and it matches the value computed in the previous step.
  The .so is not loaded if the checksums don't match.
- If invoking bcc, pass the checksum as an argument.

If ro.debuggable is not set, a constant checksum is added to .rs.info.
But it is never checked.

Change-Id: I0a9d16b34148b748daf744007a8515511714a5a5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bug 19216507

If ro.debuggable system property is set,
- Compute the Adler32 checksum of bitcode, compiler arguments, bcc,
  libclcore files.
- On shared object load, check that there is an embedded checksum value
  in .rs.info and it matches the value computed in the previous step.
  The .so is not loaded if the checksums don't match.
- If invoking bcc, pass the checksum as an argument.

If ro.debuggable is not set, a constant checksum is added to .rs.info.
But it is never checked.

Change-Id: I0a9d16b34148b748daf744007a8515511714a5a5
</pre>
</div>
</content>
</entry>
</feed>
