diff options
Diffstat (limited to 'jacinto6')
-rw-r--r-- | jacinto6/README.SGX | 2 | ||||
-rw-r--r-- | jacinto6/sgx.tgz | bin | 2700113 -> 2700182 bytes | |||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.c | 54 | ||||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.h | 49 | ||||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_activeidle.c | 49 | ||||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_cool.c | 49 | ||||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_on3demand.c | 49 | ||||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_onoff.c | 49 | ||||
-rw-r--r-- | jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_userspace.c | 49 |
9 files changed, 263 insertions, 87 deletions
diff --git a/jacinto6/README.SGX b/jacinto6/README.SGX index 7b56ada..af58f09 100644 --- a/jacinto6/README.SGX +++ b/jacinto6/README.SGX | |||
@@ -16,7 +16,7 @@ sgx.tgz a set of binaries built for SGX544. | |||
16 | [DDK Version] | 16 | [DDK Version] |
17 | 1.12/2917986 | 17 | 1.12/2917986 |
18 | [DDK commit ID] | 18 | [DDK commit ID] |
19 | b709c2f sgx-um: build: remove -rpath linker option. | 19 | 0225b3f gralloc:Add generic NV12 (non-Tiler buffers) format support |
20 | [Branch] | 20 | [Branch] |
21 | android/1.12/2917986_k3.14_L_gem | 21 | android/1.12/2917986_k3.14_L_gem |
22 | [Kernel modules built against] | 22 | [Kernel modules built against] |
diff --git a/jacinto6/sgx.tgz b/jacinto6/sgx.tgz index b35b79f..8ce0ff6 100644 --- a/jacinto6/sgx.tgz +++ b/jacinto6/sgx.tgz | |||
Binary files differ | |||
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.c b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.c index 518aa8a..8df1505 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.c +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.c | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)) | 42 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)) |
18 | #include <linux/pm_opp.h> | 43 | #include <linux/pm_opp.h> |
@@ -321,8 +346,9 @@ err1: | |||
321 | #endif | 346 | #endif |
322 | #endif | 347 | #endif |
323 | noerr: | 348 | noerr: |
324 | return ret; | 349 | return ret; |
325 | } | 350 | } |
351 | return ret; | ||
326 | } | 352 | } |
327 | 353 | ||
328 | static struct sgxfreq_governor *__find_governor(const char *name) | 354 | static struct sgxfreq_governor *__find_governor(const char *name) |
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.h b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.h index ff6fc88..01ecf85 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.h +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq.h | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #ifndef SGXFREQ_H | 42 | #ifndef SGXFREQ_H |
18 | #define SGXFREQ_H | 43 | #define SGXFREQ_H |
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_activeidle.c b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_activeidle.c index 45159d7..bb9b6c7 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_activeidle.c +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_activeidle.c | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #include <linux/sysfs.h> | 42 | #include <linux/sysfs.h> |
18 | #include "sgxfreq.h" | 43 | #include "sgxfreq.h" |
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_cool.c b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_cool.c index a58eb39..0940362 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_cool.c +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_cool.c | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) | 42 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) |
18 | 43 | ||
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_on3demand.c b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_on3demand.c index 70764b1..73a8b77 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_on3demand.c +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_on3demand.c | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #include <linux/sysfs.h> | 42 | #include <linux/sysfs.h> |
18 | #include <linux/vmalloc.h> | 43 | #include <linux/vmalloc.h> |
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_onoff.c b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_onoff.c index 39dd3fc..40f33dd 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_onoff.c +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_onoff.c | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #include <linux/sysfs.h> | 42 | #include <linux/sysfs.h> |
18 | #include "sgxfreq.h" | 43 | #include "sgxfreq.h" |
diff --git a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_userspace.c b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_userspace.c index aff6087..c7c9aec 100644 --- a/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_userspace.c +++ b/jacinto6/sgx_src/eurasia_km/services4/system/omap/sgxfreq_userspace.c | |||
@@ -1,18 +1,43 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2012 Texas Instruments, Inc | 2 | * Copyright (C) 2012 Texas Instruments, Inc |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | @License Dual MIT/GPLv2 |
5 | * under the terms of the GNU General Public License version 2 as published by | 5 | |
6 | * the Free Software Foundation. | 6 | The contents of this file are subject to the MIT license as set out below. |
7 | * | 7 | |
8 | * This program is distributed in the hope that it will be useful, but WITHOUT | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy |
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | 9 | of this software and associated documentation files (the "Software"), to deal |
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 10 | in the Software without restriction, including without limitation the rights |
11 | * more details. | 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
12 | * | 12 | copies of the Software, and to permit persons to whom the Software is |
13 | * You should have received a copy of the GNU General Public License along with | 13 | furnished to do so, subject to the following conditions: |
14 | * this program. If not, see <http://www.gnu.org/licenses/>. | 14 | |
15 | */ | 15 | The above copyright notice and this permission notice shall be included in |
16 | all copies or substantial portions of the Software. | ||
17 | |||
18 | Alternatively, the contents of this file may be used under the terms of | ||
19 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
20 | of GPL are applicable instead of those above. | ||
21 | |||
22 | If you wish to allow use of your version of this file only under the terms of | ||
23 | GPL, and not to allow others to use your version of this file under the terms | ||
24 | of the MIT license, indicate your decision by deleting the provisions above | ||
25 | and replace them with the notice and other provisions required by GPL as set | ||
26 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
27 | not delete the provisions above, a recipient may use your version of this file | ||
28 | under the terms of either the MIT license or GPL. | ||
29 | |||
30 | This License is also included in this distribution in the file called | ||
31 | "MIT-COPYING". | ||
32 | |||
33 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
34 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
35 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
36 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
37 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
38 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
39 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
40 | */ | ||
16 | 41 | ||
17 | #include <linux/sysfs.h> | 42 | #include <linux/sysfs.h> |
18 | #include "sgxfreq.h" | 43 | #include "sgxfreq.h" |