1 From 9eaf792a2825b5b4d3b5c7f074354ed26e3f76ab Mon Sep 17 00:00:00 2001
2 From: Dom Cobley <dc4@broadcom.com>
3 Date: Fri, 20 Jan 2012 18:23:29 +0000
4 Subject: [PATCH 7/7] Fix headers for vchiq/vcos to be GPLv2
6 Signed-off-by: Dom Cobley <dc4@broadcom.com>
8 .../misc/vc04_services/interface/vchi/vchi_mh.h | 26 +++++++++++++-------
9 .../interface/vcos/generic/vcos_common.h | 25 +++++++++++++-----
10 .../vcos/generic/vcos_generic_blockpool.h | 25 +++++++++++++-----
11 .../vcos/generic/vcos_generic_event_flags.c | 22 +++++++++++++---
12 .../vcos/generic/vcos_generic_event_flags.h | 22 +++++++++++++---
13 .../vcos/generic/vcos_generic_named_sem.h | 25 +++++++++++++-----
14 .../vcos/generic/vcos_generic_quickslow_mutex.h | 25 +++++++++++++-----
15 .../vcos/generic/vcos_generic_reentrant_mtx.h | 25 +++++++++++++-----
16 .../interface/vcos/generic/vcos_generic_tls.h | 25 +++++++++++++-----
17 .../vcos/generic/vcos_joinable_thread_from_plain.h | 24 +++++++++++++----
18 .../interface/vcos/generic/vcos_latch_from_sem.h | 25 +++++++++++++-----
19 .../interface/vcos/generic/vcos_logcat.c | 25 +++++++++++++-----
20 .../interface/vcos/generic/vcos_mem_from_malloc.c | 25 +++++++++++++-----
21 .../interface/vcos/generic/vcos_mem_from_malloc.h | 25 +++++++++++++-----
22 .../vcos/generic/vcos_mutexes_are_reentrant.h | 25 +++++++++++++-----
23 .../interface/vcos/generic/vcos_thread_reaper.h | 25 +++++++++++++-----
24 .../interface/vcos/linuxkernel/stdint.h | 22 +++++++++++++---
25 .../interface/vcos/linuxkernel/vcos_linuxkernel.c | 25 +++++++++++++-----
26 .../vcos/linuxkernel/vcos_linuxkernel_misc.c | 2 -
27 .../interface/vcos/linuxkernel/vcos_platform.h | 25 +++++++++++++-----
28 .../vcos/linuxkernel/vcos_platform_types.h | 25 +++++++++++++-----
29 drivers/misc/vc04_services/interface/vcos/vcos.h | 25 +++++++++++++-----
30 .../vc04_services/interface/vcos/vcos_assert.h | 25 +++++++++++++-----
31 .../interface/vcos/vcos_atomic_flags.h | 25 +++++++++++++-----
32 .../vc04_services/interface/vcos/vcos_build_info.h | 18 +++++++++++++
33 .../misc/vc04_services/interface/vcos/vcos_ctype.h | 25 +++++++++++++-----
34 .../misc/vc04_services/interface/vcos/vcos_dlfcn.h | 25 +++++++++++++-----
35 .../misc/vc04_services/interface/vcos/vcos_event.h | 25 +++++++++++++-----
36 .../interface/vcos/vcos_event_flags.h | 25 +++++++++++++-----
37 .../misc/vc04_services/interface/vcos/vcos_init.h | 25 +++++++++++++-----
38 .../vc04_services/interface/vcos/vcos_logging.h | 25 +++++++++++++-----
39 .../interface/vcos/vcos_lowlevel_thread.h | 25 +++++++++++++-----
40 .../misc/vc04_services/interface/vcos/vcos_mem.h | 25 +++++++++++++-----
41 .../vc04_services/interface/vcos/vcos_msgqueue.h | 25 +++++++++++++-----
42 .../misc/vc04_services/interface/vcos/vcos_mutex.h | 25 +++++++++++++-----
43 .../misc/vc04_services/interface/vcos/vcos_once.h | 25 +++++++++++++-----
44 .../vc04_services/interface/vcos/vcos_semaphore.h | 25 +++++++++++++-----
45 .../vc04_services/interface/vcos/vcos_stdbool.h | 17 +++++++++++++
46 .../vc04_services/interface/vcos/vcos_stdint.h | 24 +++++++++++++-----
47 .../vc04_services/interface/vcos/vcos_string.h | 25 +++++++++++++-----
48 .../vc04_services/interface/vcos/vcos_thread.h | 25 +++++++++++++-----
49 .../interface/vcos/vcos_thread_attr.h | 22 +++++++++++++---
50 .../misc/vc04_services/interface/vcos/vcos_timer.h | 25 +++++++++++++-----
51 .../misc/vc04_services/interface/vcos/vcos_types.h | 22 +++++++++++++---
52 44 files changed, 771 insertions(+), 275 deletions(-)
54 diff --git a/drivers/misc/vc04_services/interface/vchi/vchi_mh.h b/drivers/misc/vc04_services/interface/vchi/vchi_mh.h
55 index 01732bf..9bcf12e 100644
56 --- a/drivers/misc/vc04_services/interface/vchi/vchi_mh.h
57 +++ b/drivers/misc/vc04_services/interface/vchi/vchi_mh.h
59 -/*=============================================================================
60 -Copyright (c) 2010 Broadcom Europe Limited. All rights reserved.
66 -Definitions for memory handle types.
67 -=============================================================================*/
69 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
71 + * This program is free software; you can redistribute it and/or modify
72 + * it under the terms of the GNU General Public License as published by
73 + * the Free Software Foundation; either version 2 of the License, or
74 + * (at your option) any later version.
76 + * This program is distributed in the hope that it will be useful,
77 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
78 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79 + * GNU General Public License for more details.
81 + * You should have received a copy of the GNU General Public License
82 + * along with this program; if not, write to the Free Software
83 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
88 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_common.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_common.h
89 index 2493122..ce7816957 100644
90 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_common.h
91 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_common.h
93 -/*=============================================================================
94 -Copyright (c) 2009 Broadcom Europe Limited.
100 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
102 + * This program is free software; you can redistribute it and/or modify
103 + * it under the terms of the GNU General Public License as published by
104 + * the Free Software Foundation; either version 2 of the License, or
105 + * (at your option) any later version.
107 + * This program is distributed in the hope that it will be useful,
108 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
109 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
110 + * GNU General Public License for more details.
112 + * You should have received a copy of the GNU General Public License
113 + * along with this program; if not, write to the Free Software
114 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
118 +/*=============================================================================
119 VideoCore OS Abstraction Layer - common postamble code
120 =============================================================================*/
122 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_blockpool.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_blockpool.h
123 index a048470..154b200 100644
124 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_blockpool.h
125 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_blockpool.h
127 -/*=============================================================================
128 -Copyright (c) 2011 Broadcom Europe Limited.
129 -All rights reserved.
132 -Module : chip driver
134 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
136 + * This program is free software; you can redistribute it and/or modify
137 + * it under the terms of the GNU General Public License as published by
138 + * the Free Software Foundation; either version 2 of the License, or
139 + * (at your option) any later version.
141 + * This program is distributed in the hope that it will be useful,
142 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
143 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
144 + * GNU General Public License for more details.
146 + * You should have received a copy of the GNU General Public License
147 + * along with this program; if not, write to the Free Software
148 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
152 +/*=============================================================================
153 VideoCore OS Abstraction Layer - event flags implemented via a semaphore
154 =============================================================================*/
156 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.c b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.c
157 index 8cd150f..3948a57 100644
158 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.c
159 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.c
161 -/*=============================================================================
162 -Copyright (c) 2009 Broadcom Europe Limited.
163 -All rights reserved.
165 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
167 + * This program is free software; you can redistribute it and/or modify
168 + * it under the terms of the GNU General Public License as published by
169 + * the Free Software Foundation; either version 2 of the License, or
170 + * (at your option) any later version.
172 + * This program is distributed in the hope that it will be useful,
173 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
174 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
175 + * GNU General Public License for more details.
177 + * You should have received a copy of the GNU General Public License
178 + * along with this program; if not, write to the Free Software
179 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
183 +/*=============================================================================
184 VideoCore OS Abstraction Layer - event flags implemented via mutexes
185 =============================================================================*/
187 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.h
188 index 5205db7..8776ebe 100644
189 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.h
190 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_event_flags.h
192 -/*=============================================================================
193 -Copyright (c) 2009 Broadcom Europe Limited.
194 -All rights reserved.
196 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
198 + * This program is free software; you can redistribute it and/or modify
199 + * it under the terms of the GNU General Public License as published by
200 + * the Free Software Foundation; either version 2 of the License, or
201 + * (at your option) any later version.
203 + * This program is distributed in the hope that it will be useful,
204 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
205 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
206 + * GNU General Public License for more details.
208 + * You should have received a copy of the GNU General Public License
209 + * along with this program; if not, write to the Free Software
210 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
214 +/*=============================================================================
215 VideoCore OS Abstraction Layer - event flags implemented via a semaphore
216 =============================================================================*/
218 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_named_sem.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_named_sem.h
219 index 15b332d..370562d 100644
220 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_named_sem.h
221 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_named_sem.h
223 -/*=============================================================================
224 -Copyright (c) 2009 Broadcom Europe Limited.
225 -All rights reserved.
228 -Module : chip driver
230 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
232 + * This program is free software; you can redistribute it and/or modify
233 + * it under the terms of the GNU General Public License as published by
234 + * the Free Software Foundation; either version 2 of the License, or
235 + * (at your option) any later version.
237 + * This program is distributed in the hope that it will be useful,
238 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
239 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
240 + * GNU General Public License for more details.
242 + * You should have received a copy of the GNU General Public License
243 + * along with this program; if not, write to the Free Software
244 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
248 +/*=============================================================================
249 VideoCore OS Abstraction Layer - named semaphores
250 =============================================================================*/
252 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_quickslow_mutex.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_quickslow_mutex.h
253 index e4ae649..bf7945c 100644
254 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_quickslow_mutex.h
255 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_quickslow_mutex.h
257 -/*=============================================================================
258 -Copyright (c) 2009 Broadcom Europe Limited.
259 -All rights reserved.
262 -Module : chip driver
264 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
266 + * This program is free software; you can redistribute it and/or modify
267 + * it under the terms of the GNU General Public License as published by
268 + * the Free Software Foundation; either version 2 of the License, or
269 + * (at your option) any later version.
271 + * This program is distributed in the hope that it will be useful,
272 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
273 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
274 + * GNU General Public License for more details.
276 + * You should have received a copy of the GNU General Public License
277 + * along with this program; if not, write to the Free Software
278 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
282 +/*=============================================================================
283 VideoCore OS Abstraction Layer - reentrant mutexes created from regular ones.
284 =============================================================================*/
286 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_reentrant_mtx.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_reentrant_mtx.h
287 index ffb0b27..27563ea 100644
288 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_reentrant_mtx.h
289 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_reentrant_mtx.h
291 -/*=============================================================================
292 -Copyright (c) 2009 Broadcom Europe Limited.
293 -All rights reserved.
296 -Module : chip driver
298 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
300 + * This program is free software; you can redistribute it and/or modify
301 + * it under the terms of the GNU General Public License as published by
302 + * the Free Software Foundation; either version 2 of the License, or
303 + * (at your option) any later version.
305 + * This program is distributed in the hope that it will be useful,
306 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
307 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
308 + * GNU General Public License for more details.
310 + * You should have received a copy of the GNU General Public License
311 + * along with this program; if not, write to the Free Software
312 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
316 +/*=============================================================================
317 VideoCore OS Abstraction Layer - reentrant mutexes created from regular ones.
318 =============================================================================*/
320 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_tls.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_tls.h
321 index 3af975f..22c059a 100644
322 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_tls.h
323 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_generic_tls.h
325 -/*=============================================================================
326 -Copyright (c) 2009 Broadcom Europe Limited.
327 -All rights reserved.
330 -Module : chip driver
332 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
334 + * This program is free software; you can redistribute it and/or modify
335 + * it under the terms of the GNU General Public License as published by
336 + * the Free Software Foundation; either version 2 of the License, or
337 + * (at your option) any later version.
339 + * This program is distributed in the hope that it will be useful,
340 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
341 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
342 + * GNU General Public License for more details.
344 + * You should have received a copy of the GNU General Public License
345 + * along with this program; if not, write to the Free Software
346 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
350 +/*=============================================================================
351 VideoCore OS Abstraction Layer - generic thread local storage
352 =============================================================================*/
354 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_joinable_thread_from_plain.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_joinable_thread_from_plain.h
355 index 5387b9e..fd0e198 100644
356 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_joinable_thread_from_plain.h
357 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_joinable_thread_from_plain.h
359 -/*=============================================================================
360 -Copyright (c) 2009 Broadcom Europe Limited.
361 -All rights reserved.
365 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
367 + * This program is free software; you can redistribute it and/or modify
368 + * it under the terms of the GNU General Public License as published by
369 + * the Free Software Foundation; either version 2 of the License, or
370 + * (at your option) any later version.
372 + * This program is distributed in the hope that it will be useful,
373 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
374 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
375 + * GNU General Public License for more details.
377 + * You should have received a copy of the GNU General Public License
378 + * along with this program; if not, write to the Free Software
379 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
383 +/*=============================================================================
384 VideoCore OS Abstraction Layer - implementation: joinable thread from plain
385 =============================================================================*/
387 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_latch_from_sem.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_latch_from_sem.h
388 index 9ee5b4b..ec9e07b 100644
389 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_latch_from_sem.h
390 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_latch_from_sem.h
392 -/*=============================================================================
393 -Copyright (c) 2009 Broadcom Europe Limited.
394 -All rights reserved.
399 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
401 + * This program is free software; you can redistribute it and/or modify
402 + * it under the terms of the GNU General Public License as published by
403 + * the Free Software Foundation; either version 2 of the License, or
404 + * (at your option) any later version.
406 + * This program is distributed in the hope that it will be useful,
407 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
408 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
409 + * GNU General Public License for more details.
411 + * You should have received a copy of the GNU General Public License
412 + * along with this program; if not, write to the Free Software
413 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
417 +/*=============================================================================
418 VideoCore OS Abstraction Layer - Construct a latch from a semaphore
419 =============================================================================*/
421 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_logcat.c b/drivers/misc/vc04_services/interface/vcos/generic/vcos_logcat.c
422 index d513fab..8b05179 100644
423 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_logcat.c
424 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_logcat.c
426 -/*=============================================================================
427 -Copyright (c) 2010 Broadcom Europe Limited.
428 -All rights reserved.
433 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
435 + * This program is free software; you can redistribute it and/or modify
436 + * it under the terms of the GNU General Public License as published by
437 + * the Free Software Foundation; either version 2 of the License, or
438 + * (at your option) any later version.
440 + * This program is distributed in the hope that it will be useful,
441 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
442 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
443 + * GNU General Public License for more details.
445 + * You should have received a copy of the GNU General Public License
446 + * along with this program; if not, write to the Free Software
447 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
451 +/*=============================================================================
452 Categorized logging for VCOS - a generic implementation.
453 =============================================================================*/
455 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.c b/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.c
456 index 7f22051..dd0574a 100644
457 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.c
458 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.c
460 -/*=============================================================================
461 -Copyright (c) 2009 Broadcom Europe Limited.
462 -All rights reserved.
467 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
469 + * This program is free software; you can redistribute it and/or modify
470 + * it under the terms of the GNU General Public License as published by
471 + * the Free Software Foundation; either version 2 of the License, or
472 + * (at your option) any later version.
474 + * This program is distributed in the hope that it will be useful,
475 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
476 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
477 + * GNU General Public License for more details.
479 + * You should have received a copy of the GNU General Public License
480 + * along with this program; if not, write to the Free Software
481 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
485 +/*=============================================================================
486 VideoCore OS Abstraction Layer - memory alloc implementation
487 =============================================================================*/
489 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.h
490 index 1074dcc..8e2a18e 100644
491 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.h
492 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_mem_from_malloc.h
494 -/*=============================================================================
495 -Copyright (c) 2009 Broadcom Europe Limited.
496 -All rights reserved.
498 -Project : VMCS Host Apps
499 -Module : Framework - VMCS
501 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
503 + * This program is free software; you can redistribute it and/or modify
504 + * it under the terms of the GNU General Public License as published by
505 + * the Free Software Foundation; either version 2 of the License, or
506 + * (at your option) any later version.
508 + * This program is distributed in the hope that it will be useful,
509 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
510 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
511 + * GNU General Public License for more details.
513 + * You should have received a copy of the GNU General Public License
514 + * along with this program; if not, write to the Free Software
515 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
519 +/*=============================================================================
520 Create the vcos_malloc API from the regular system malloc/free
521 =============================================================================*/
523 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_mutexes_are_reentrant.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_mutexes_are_reentrant.h
524 index d10352c9..a6a52b4 100644
525 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_mutexes_are_reentrant.h
526 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_mutexes_are_reentrant.h
528 -/*=============================================================================
529 -Copyright (c) 2009 Broadcom Europe Limited.
530 -All rights reserved.
533 -Module : chip driver
535 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
537 + * This program is free software; you can redistribute it and/or modify
538 + * it under the terms of the GNU General Public License as published by
539 + * the Free Software Foundation; either version 2 of the License, or
540 + * (at your option) any later version.
542 + * This program is distributed in the hope that it will be useful,
543 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
544 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
545 + * GNU General Public License for more details.
547 + * You should have received a copy of the GNU General Public License
548 + * along with this program; if not, write to the Free Software
549 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
553 +/*=============================================================================
554 VideoCore OS Abstraction Layer - reentrant mutexes mapped directly to regular ones
555 =============================================================================*/
557 diff --git a/drivers/misc/vc04_services/interface/vcos/generic/vcos_thread_reaper.h b/drivers/misc/vc04_services/interface/vcos/generic/vcos_thread_reaper.h
558 index a8fc3da..655dc25 100644
559 --- a/drivers/misc/vc04_services/interface/vcos/generic/vcos_thread_reaper.h
560 +++ b/drivers/misc/vc04_services/interface/vcos/generic/vcos_thread_reaper.h
562 -/*=============================================================================
563 -Copyright (c) 2010 Broadcom Europe Limited.
564 -All rights reserved.
569 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
571 + * This program is free software; you can redistribute it and/or modify
572 + * it under the terms of the GNU General Public License as published by
573 + * the Free Software Foundation; either version 2 of the License, or
574 + * (at your option) any later version.
576 + * This program is distributed in the hope that it will be useful,
577 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
578 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
579 + * GNU General Public License for more details.
581 + * You should have received a copy of the GNU General Public License
582 + * along with this program; if not, write to the Free Software
583 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
587 +/*=============================================================================
588 VideoCore OS Abstraction Layer - thread reaping
589 =============================================================================*/
591 diff --git a/drivers/misc/vc04_services/interface/vcos/linuxkernel/stdint.h b/drivers/misc/vc04_services/interface/vcos/linuxkernel/stdint.h
592 index d3469af..1db1ecb 100644
593 --- a/drivers/misc/vc04_services/interface/vcos/linuxkernel/stdint.h
594 +++ b/drivers/misc/vc04_services/interface/vcos/linuxkernel/stdint.h
596 -/*=============================================================================
597 -Copyright (c) 2010 Broadcom Europe Limited.
598 -All rights reserved.
600 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
602 + * This program is free software; you can redistribute it and/or modify
603 + * it under the terms of the GNU General Public License as published by
604 + * the Free Software Foundation; either version 2 of the License, or
605 + * (at your option) any later version.
607 + * This program is distributed in the hope that it will be useful,
608 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
609 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
610 + * GNU General Public License for more details.
612 + * You should have received a copy of the GNU General Public License
613 + * along with this program; if not, write to the Free Software
614 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
618 +/*=============================================================================
619 VideoCore OS fAbstraction Layer - stdint.h C standard header
620 =============================================================================*/
622 diff --git a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel.c b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel.c
623 index 154f4a1..0385540 100644
624 --- a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel.c
625 +++ b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel.c
627 -/*=============================================================================
628 -Copyright (c) 2009 Broadcom Europe Limited.
629 -All rights reserved.
634 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
636 + * This program is free software; you can redistribute it and/or modify
637 + * it under the terms of the GNU General Public License as published by
638 + * the Free Software Foundation; either version 2 of the License, or
639 + * (at your option) any later version.
641 + * This program is distributed in the hope that it will be useful,
642 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
643 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
644 + * GNU General Public License for more details.
646 + * You should have received a copy of the GNU General Public License
647 + * along with this program; if not, write to the Free Software
648 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
652 +/*=============================================================================
653 VideoCore OS Abstraction Layer - pthreads types
654 =============================================================================*/
656 diff --git a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel_misc.c b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel_misc.c
657 index 4d934c3..4a9cedf 100644
658 --- a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel_misc.c
659 +++ b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_linuxkernel_misc.c
661 -// #############################################################################
662 -// START #######################################################################
663 /*****************************************************************************
664 * Copyright 2009 - 2010 Broadcom Corporation. All rights reserved.
666 diff --git a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform.h b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform.h
667 index 854001d..381688e 100644
668 --- a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform.h
669 +++ b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform.h
671 -/*=============================================================================
672 -Copyright (c) 2009 Broadcom Europe Limited.
673 -All rights reserved.
678 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
680 + * This program is free software; you can redistribute it and/or modify
681 + * it under the terms of the GNU General Public License as published by
682 + * the Free Software Foundation; either version 2 of the License, or
683 + * (at your option) any later version.
685 + * This program is distributed in the hope that it will be useful,
686 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
687 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
688 + * GNU General Public License for more details.
690 + * You should have received a copy of the GNU General Public License
691 + * along with this program; if not, write to the Free Software
692 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
696 +/*=============================================================================
697 VideoCore OS Abstraction Layer - Linux kernel (partial) implementation.
698 =============================================================================*/
700 diff --git a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform_types.h b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform_types.h
701 index 20d973e..f841e12 100644
702 --- a/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform_types.h
703 +++ b/drivers/misc/vc04_services/interface/vcos/linuxkernel/vcos_platform_types.h
705 -/*=============================================================================
706 -Copyright (c) 2009 Broadcom Europe Limited.
707 -All rights reserved.
712 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
714 + * This program is free software; you can redistribute it and/or modify
715 + * it under the terms of the GNU General Public License as published by
716 + * the Free Software Foundation; either version 2 of the License, or
717 + * (at your option) any later version.
719 + * This program is distributed in the hope that it will be useful,
720 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
721 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
722 + * GNU General Public License for more details.
724 + * You should have received a copy of the GNU General Public License
725 + * along with this program; if not, write to the Free Software
726 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
730 +/*=============================================================================
731 VideoCore OS Abstraction Layer - platform-specific types and defines
732 =============================================================================*/
734 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos.h b/drivers/misc/vc04_services/interface/vcos/vcos.h
735 index 4ff5cc8..e37d795 100644
736 --- a/drivers/misc/vc04_services/interface/vcos/vcos.h
737 +++ b/drivers/misc/vc04_services/interface/vcos/vcos.h
739 -/*=============================================================================
740 -Copyright (c) 2009 Broadcom Europe Limited.
741 -All rights reserved.
744 -Module : chip driver
746 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
748 + * This program is free software; you can redistribute it and/or modify
749 + * it under the terms of the GNU General Public License as published by
750 + * the Free Software Foundation; either version 2 of the License, or
751 + * (at your option) any later version.
753 + * This program is distributed in the hope that it will be useful,
754 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
755 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
756 + * GNU General Public License for more details.
758 + * You should have received a copy of the GNU General Public License
759 + * along with this program; if not, write to the Free Software
760 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
764 +/*=============================================================================
765 VideoCore OS Abstraction Layer - public header file
766 =============================================================================*/
768 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_assert.h b/drivers/misc/vc04_services/interface/vcos/vcos_assert.h
769 index 5091621..1e72dff 100644
770 --- a/drivers/misc/vc04_services/interface/vcos/vcos_assert.h
771 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_assert.h
773 -/*=============================================================================
774 -Copyright (c) 2009 Broadcom Europe Limited.
775 -All rights reserved.
780 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
782 + * This program is free software; you can redistribute it and/or modify
783 + * it under the terms of the GNU General Public License as published by
784 + * the Free Software Foundation; either version 2 of the License, or
785 + * (at your option) any later version.
787 + * This program is distributed in the hope that it will be useful,
788 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
789 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
790 + * GNU General Public License for more details.
792 + * You should have received a copy of the GNU General Public License
793 + * along with this program; if not, write to the Free Software
794 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
798 +/*=============================================================================
799 VideoCore OS Abstraction Layer - Assertion and error-handling macros.
800 =============================================================================*/
802 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_atomic_flags.h b/drivers/misc/vc04_services/interface/vcos/vcos_atomic_flags.h
803 index bb8041e..317abf3 100644
804 --- a/drivers/misc/vc04_services/interface/vcos/vcos_atomic_flags.h
805 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_atomic_flags.h
807 -/*=============================================================================
808 -Copyright (c) 2009 Broadcom Europe Limited.
809 -All rights reserved.
812 -Module : chip driver (just for consistency with the rest of vcos ;)
814 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
816 + * This program is free software; you can redistribute it and/or modify
817 + * it under the terms of the GNU General Public License as published by
818 + * the Free Software Foundation; either version 2 of the License, or
819 + * (at your option) any later version.
821 + * This program is distributed in the hope that it will be useful,
822 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
823 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
824 + * GNU General Public License for more details.
826 + * You should have received a copy of the GNU General Public License
827 + * along with this program; if not, write to the Free Software
828 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
832 +/*=============================================================================
833 VideoCore OS Abstraction Layer - public header file
834 =============================================================================*/
836 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_build_info.h b/drivers/misc/vc04_services/interface/vcos/vcos_build_info.h
837 index 7543a89..f3817f6 100644
838 --- a/drivers/misc/vc04_services/interface/vcos/vcos_build_info.h
839 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_build_info.h
842 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
844 + * This program is free software; you can redistribute it and/or modify
845 + * it under the terms of the GNU General Public License as published by
846 + * the Free Software Foundation; either version 2 of the License, or
847 + * (at your option) any later version.
849 + * This program is distributed in the hope that it will be useful,
850 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
851 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
852 + * GNU General Public License for more details.
854 + * You should have received a copy of the GNU General Public License
855 + * along with this program; if not, write to the Free Software
856 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
859 const char *vcos_get_build_hostname( void );
860 const char *vcos_get_build_version( void );
861 const char *vcos_get_build_time( void );
862 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_ctype.h b/drivers/misc/vc04_services/interface/vcos/vcos_ctype.h
863 index 131b982..a270de8 100644
864 --- a/drivers/misc/vc04_services/interface/vcos/vcos_ctype.h
865 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_ctype.h
867 -/*=============================================================================
868 -Copyright (c) 2009 Broadcom Europe Limited.
869 -All rights reserved.
872 -Module : chip driver
874 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
876 + * This program is free software; you can redistribute it and/or modify
877 + * it under the terms of the GNU General Public License as published by
878 + * the Free Software Foundation; either version 2 of the License, or
879 + * (at your option) any later version.
881 + * This program is distributed in the hope that it will be useful,
882 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
883 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
884 + * GNU General Public License for more details.
886 + * You should have received a copy of the GNU General Public License
887 + * along with this program; if not, write to the Free Software
888 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
892 +/*=============================================================================
893 VideoCore OS Abstraction Layer - public header file
894 =============================================================================*/
896 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_dlfcn.h b/drivers/misc/vc04_services/interface/vcos/vcos_dlfcn.h
897 index 456b08e..0a683c0b 100644
898 --- a/drivers/misc/vc04_services/interface/vcos/vcos_dlfcn.h
899 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_dlfcn.h
901 -/*=============================================================================
902 -Copyright (c) 2010 Broadcom Europe Limited.
903 -All rights reserved.
906 -Module : chip driver
908 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
910 + * This program is free software; you can redistribute it and/or modify
911 + * it under the terms of the GNU General Public License as published by
912 + * the Free Software Foundation; either version 2 of the License, or
913 + * (at your option) any later version.
915 + * This program is distributed in the hope that it will be useful,
916 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
917 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
918 + * GNU General Public License for more details.
920 + * You should have received a copy of the GNU General Public License
921 + * along with this program; if not, write to the Free Software
922 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
926 +/*=============================================================================
927 VCOS - abstraction over dynamic library opening
928 =============================================================================*/
930 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_event.h b/drivers/misc/vc04_services/interface/vcos/vcos_event.h
931 index f335059..38612f9 100644
932 --- a/drivers/misc/vc04_services/interface/vcos/vcos_event.h
933 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_event.h
935 -/*=============================================================================
936 -Copyright (c) 2009 Broadcom Europe Limited.
937 -All rights reserved.
940 -Module : chip driver
942 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
944 + * This program is free software; you can redistribute it and/or modify
945 + * it under the terms of the GNU General Public License as published by
946 + * the Free Software Foundation; either version 2 of the License, or
947 + * (at your option) any later version.
949 + * This program is distributed in the hope that it will be useful,
950 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
951 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
952 + * GNU General Public License for more details.
954 + * You should have received a copy of the GNU General Public License
955 + * along with this program; if not, write to the Free Software
956 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
960 +/*=============================================================================
961 VideoCore OS Abstraction Layer - public header file for events
962 =============================================================================*/
964 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_event_flags.h b/drivers/misc/vc04_services/interface/vcos/vcos_event_flags.h
965 index 6223c48..9eee410 100644
966 --- a/drivers/misc/vc04_services/interface/vcos/vcos_event_flags.h
967 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_event_flags.h
969 -/*=============================================================================
970 -Copyright (c) 2009 Broadcom Europe Limited.
971 -All rights reserved.
974 -Module : chip driver
976 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
978 + * This program is free software; you can redistribute it and/or modify
979 + * it under the terms of the GNU General Public License as published by
980 + * the Free Software Foundation; either version 2 of the License, or
981 + * (at your option) any later version.
983 + * This program is distributed in the hope that it will be useful,
984 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
985 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
986 + * GNU General Public License for more details.
988 + * You should have received a copy of the GNU General Public License
989 + * along with this program; if not, write to the Free Software
990 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
994 +/*=============================================================================
995 VideoCore OS Abstraction Layer - public header file
996 =============================================================================*/
998 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_init.h b/drivers/misc/vc04_services/interface/vcos/vcos_init.h
999 index e67327c..9fc5eca 100644
1000 --- a/drivers/misc/vc04_services/interface/vcos/vcos_init.h
1001 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_init.h
1003 -/*=============================================================================
1004 -Copyright (c) 2009 Broadcom Europe Limited.
1005 -All rights reserved.
1008 -Module : chip driver
1010 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1012 + * This program is free software; you can redistribute it and/or modify
1013 + * it under the terms of the GNU General Public License as published by
1014 + * the Free Software Foundation; either version 2 of the License, or
1015 + * (at your option) any later version.
1017 + * This program is distributed in the hope that it will be useful,
1018 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1019 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1020 + * GNU General Public License for more details.
1022 + * You should have received a copy of the GNU General Public License
1023 + * along with this program; if not, write to the Free Software
1024 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1028 +/*=============================================================================
1029 VideoCore OS Abstraction Layer - initialization routines
1030 =============================================================================*/
1032 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_logging.h b/drivers/misc/vc04_services/interface/vcos/vcos_logging.h
1033 index 0c54781d..9702822 100644
1034 --- a/drivers/misc/vc04_services/interface/vcos/vcos_logging.h
1035 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_logging.h
1037 -/*=============================================================================
1038 -Copyright (c) 2009-2011 Broadcom Europe Limited.
1039 -All rights reserved.
1042 -Module : chip driver
1044 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1046 + * This program is free software; you can redistribute it and/or modify
1047 + * it under the terms of the GNU General Public License as published by
1048 + * the Free Software Foundation; either version 2 of the License, or
1049 + * (at your option) any later version.
1051 + * This program is distributed in the hope that it will be useful,
1052 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1053 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1054 + * GNU General Public License for more details.
1056 + * You should have received a copy of the GNU General Public License
1057 + * along with this program; if not, write to the Free Software
1058 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1062 +/*=============================================================================
1063 VideoCore OS Abstraction Layer - logging support
1064 =============================================================================*/
1066 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_lowlevel_thread.h b/drivers/misc/vc04_services/interface/vcos/vcos_lowlevel_thread.h
1067 index 658a30b..9473cec 100644
1068 --- a/drivers/misc/vc04_services/interface/vcos/vcos_lowlevel_thread.h
1069 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_lowlevel_thread.h
1071 -/*=============================================================================
1072 -Copyright (c) 2009 Broadcom Europe Limited.
1073 -All rights reserved.
1076 -Module : chip driver
1078 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1080 + * This program is free software; you can redistribute it and/or modify
1081 + * it under the terms of the GNU General Public License as published by
1082 + * the Free Software Foundation; either version 2 of the License, or
1083 + * (at your option) any later version.
1085 + * This program is distributed in the hope that it will be useful,
1086 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1087 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1088 + * GNU General Public License for more details.
1090 + * You should have received a copy of the GNU General Public License
1091 + * along with this program; if not, write to the Free Software
1092 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1096 +/*=============================================================================
1097 VideoCore OS Abstraction Layer - low level thread support
1098 =============================================================================*/
1100 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_mem.h b/drivers/misc/vc04_services/interface/vcos/vcos_mem.h
1101 index 99860db5..af16208 100644
1102 --- a/drivers/misc/vc04_services/interface/vcos/vcos_mem.h
1103 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_mem.h
1105 -/*=============================================================================
1106 -Copyright (c) 2009 Broadcom Europe Limited.
1107 -All rights reserved.
1110 -Module : chip driver
1112 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1114 + * This program is free software; you can redistribute it and/or modify
1115 + * it under the terms of the GNU General Public License as published by
1116 + * the Free Software Foundation; either version 2 of the License, or
1117 + * (at your option) any later version.
1119 + * This program is distributed in the hope that it will be useful,
1120 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1121 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1122 + * GNU General Public License for more details.
1124 + * You should have received a copy of the GNU General Public License
1125 + * along with this program; if not, write to the Free Software
1126 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1130 +/*=============================================================================
1131 VideoCore OS Abstraction Layer - memory support
1132 =============================================================================*/
1134 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_msgqueue.h b/drivers/misc/vc04_services/interface/vcos/vcos_msgqueue.h
1135 index 31f77c1..f0ef70b 100644
1136 --- a/drivers/misc/vc04_services/interface/vcos/vcos_msgqueue.h
1137 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_msgqueue.h
1139 -/*=============================================================================
1140 -Copyright (c) 2009 Broadcom Europe Limited.
1141 -All rights reserved.
1144 -Module : chip driver
1146 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1148 + * This program is free software; you can redistribute it and/or modify
1149 + * it under the terms of the GNU General Public License as published by
1150 + * the Free Software Foundation; either version 2 of the License, or
1151 + * (at your option) any later version.
1153 + * This program is distributed in the hope that it will be useful,
1154 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1155 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1156 + * GNU General Public License for more details.
1158 + * You should have received a copy of the GNU General Public License
1159 + * along with this program; if not, write to the Free Software
1160 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1164 +/*=============================================================================
1165 VCOS - packet-like messages, based loosely on those found in TRIPOS.
1166 =============================================================================*/
1168 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_mutex.h b/drivers/misc/vc04_services/interface/vcos/vcos_mutex.h
1169 index 5347ab2..14387a8 100644
1170 --- a/drivers/misc/vc04_services/interface/vcos/vcos_mutex.h
1171 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_mutex.h
1173 -/*=============================================================================
1174 -Copyright (c) 2009 Broadcom Europe Limited.
1175 -All rights reserved.
1178 -Module : chip driver
1180 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1182 + * This program is free software; you can redistribute it and/or modify
1183 + * it under the terms of the GNU General Public License as published by
1184 + * the Free Software Foundation; either version 2 of the License, or
1185 + * (at your option) any later version.
1187 + * This program is distributed in the hope that it will be useful,
1188 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1189 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1190 + * GNU General Public License for more details.
1192 + * You should have received a copy of the GNU General Public License
1193 + * along with this program; if not, write to the Free Software
1194 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1198 +/*=============================================================================
1199 VideoCore OS Abstraction Layer - mutex public header file
1200 =============================================================================*/
1202 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_once.h b/drivers/misc/vc04_services/interface/vcos/vcos_once.h
1203 index d12ac5e..0533c10 100644
1204 --- a/drivers/misc/vc04_services/interface/vcos/vcos_once.h
1205 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_once.h
1207 -/*=============================================================================
1208 -Copyright (c) 2011 Broadcom Europe Limited.
1209 -All rights reserved.
1212 -Module : chip driver
1214 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1216 + * This program is free software; you can redistribute it and/or modify
1217 + * it under the terms of the GNU General Public License as published by
1218 + * the Free Software Foundation; either version 2 of the License, or
1219 + * (at your option) any later version.
1221 + * This program is distributed in the hope that it will be useful,
1222 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1223 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1224 + * GNU General Public License for more details.
1226 + * You should have received a copy of the GNU General Public License
1227 + * along with this program; if not, write to the Free Software
1228 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1232 +/*=============================================================================
1233 VideoCore OS Abstraction Layer - 'once'
1234 =============================================================================*/
1236 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_semaphore.h b/drivers/misc/vc04_services/interface/vcos/vcos_semaphore.h
1237 index 5a32031..2760dd7 100644
1238 --- a/drivers/misc/vc04_services/interface/vcos/vcos_semaphore.h
1239 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_semaphore.h
1241 -/*=============================================================================
1242 -Copyright (c) 2009 Broadcom Europe Limited.
1243 -All rights reserved.
1246 -Module : chip driver
1248 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1250 + * This program is free software; you can redistribute it and/or modify
1251 + * it under the terms of the GNU General Public License as published by
1252 + * the Free Software Foundation; either version 2 of the License, or
1253 + * (at your option) any later version.
1255 + * This program is distributed in the hope that it will be useful,
1256 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1257 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1258 + * GNU General Public License for more details.
1260 + * You should have received a copy of the GNU General Public License
1261 + * along with this program; if not, write to the Free Software
1262 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1266 +/*=============================================================================
1267 VideoCore OS Abstraction Layer - public header file
1268 =============================================================================*/
1270 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_stdbool.h b/drivers/misc/vc04_services/interface/vcos/vcos_stdbool.h
1271 index f1de3cb..3c7669d 100644
1272 --- a/drivers/misc/vc04_services/interface/vcos/vcos_stdbool.h
1273 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_stdbool.h
1276 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1278 + * This program is free software; you can redistribute it and/or modify
1279 + * it under the terms of the GNU General Public License as published by
1280 + * the Free Software Foundation; either version 2 of the License, or
1281 + * (at your option) any later version.
1283 + * This program is distributed in the hope that it will be useful,
1284 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1285 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1286 + * GNU General Public License for more details.
1288 + * You should have received a copy of the GNU General Public License
1289 + * along with this program; if not, write to the Free Software
1290 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1292 #ifndef VCOS_STDBOOL_H
1293 #define VCOS_STDBOOL_H
1295 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_stdint.h b/drivers/misc/vc04_services/interface/vcos/vcos_stdint.h
1296 index 537ec33..c9a3e02 100644
1297 --- a/drivers/misc/vc04_services/interface/vcos/vcos_stdint.h
1298 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_stdint.h
1300 -/*=============================================================================
1301 -Copyright (c) 2011 Broadcom Europe Limited.
1302 -All rights reserved.
1306 -=============================================================================*/
1308 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1310 + * This program is free software; you can redistribute it and/or modify
1311 + * it under the terms of the GNU General Public License as published by
1312 + * the Free Software Foundation; either version 2 of the License, or
1313 + * (at your option) any later version.
1315 + * This program is distributed in the hope that it will be useful,
1316 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1317 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1318 + * GNU General Public License for more details.
1320 + * You should have received a copy of the GNU General Public License
1321 + * along with this program; if not, write to the Free Software
1322 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1325 #ifndef VCOS_STDINT_H
1326 #define VCOS_STDINT_H
1327 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_string.h b/drivers/misc/vc04_services/interface/vcos/vcos_string.h
1328 index 554b57d..c3d875f 100644
1329 --- a/drivers/misc/vc04_services/interface/vcos/vcos_string.h
1330 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_string.h
1332 -/*=============================================================================
1333 -Copyright (c) 2009 Broadcom Europe Limited.
1334 -All rights reserved.
1337 -Module : chip driver
1339 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1341 + * This program is free software; you can redistribute it and/or modify
1342 + * it under the terms of the GNU General Public License as published by
1343 + * the Free Software Foundation; either version 2 of the License, or
1344 + * (at your option) any later version.
1346 + * This program is distributed in the hope that it will be useful,
1347 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1348 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1349 + * GNU General Public License for more details.
1351 + * You should have received a copy of the GNU General Public License
1352 + * along with this program; if not, write to the Free Software
1353 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1357 +/*=============================================================================
1358 VideoCore OS Abstraction Layer - public header file
1359 =============================================================================*/
1361 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_thread.h b/drivers/misc/vc04_services/interface/vcos/vcos_thread.h
1362 index 08a76a0..ee34648 100644
1363 --- a/drivers/misc/vc04_services/interface/vcos/vcos_thread.h
1364 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_thread.h
1366 -/*=============================================================================
1367 -Copyright (c) 2009 Broadcom Europe Limited.
1368 -All rights reserved.
1371 -Module : chip driver
1373 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1375 + * This program is free software; you can redistribute it and/or modify
1376 + * it under the terms of the GNU General Public License as published by
1377 + * the Free Software Foundation; either version 2 of the License, or
1378 + * (at your option) any later version.
1380 + * This program is distributed in the hope that it will be useful,
1381 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1382 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1383 + * GNU General Public License for more details.
1385 + * You should have received a copy of the GNU General Public License
1386 + * along with this program; if not, write to the Free Software
1387 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1391 +/*=============================================================================
1392 VideoCore OS Abstraction Layer - public header file
1393 =============================================================================*/
1395 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_thread_attr.h b/drivers/misc/vc04_services/interface/vcos/vcos_thread_attr.h
1396 index 510991f..375dd01 100644
1397 --- a/drivers/misc/vc04_services/interface/vcos/vcos_thread_attr.h
1398 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_thread_attr.h
1400 -/*=============================================================================
1401 -Copyright (c) 2009 Broadcom Europe Limited.
1402 -All rights reserved.
1404 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1406 + * This program is free software; you can redistribute it and/or modify
1407 + * it under the terms of the GNU General Public License as published by
1408 + * the Free Software Foundation; either version 2 of the License, or
1409 + * (at your option) any later version.
1411 + * This program is distributed in the hope that it will be useful,
1412 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1413 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414 + * GNU General Public License for more details.
1416 + * You should have received a copy of the GNU General Public License
1417 + * along with this program; if not, write to the Free Software
1418 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1422 +/*=============================================================================
1423 VideoCore OS Abstraction Layer - thread attributes
1424 =============================================================================*/
1426 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_timer.h b/drivers/misc/vc04_services/interface/vcos/vcos_timer.h
1427 index 499adce..1612334 100644
1428 --- a/drivers/misc/vc04_services/interface/vcos/vcos_timer.h
1429 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_timer.h
1431 -/*=============================================================================
1432 -Copyright (c) 2009 Broadcom Europe Limited.
1433 -All rights reserved.
1436 -Module : chip driver
1438 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1440 + * This program is free software; you can redistribute it and/or modify
1441 + * it under the terms of the GNU General Public License as published by
1442 + * the Free Software Foundation; either version 2 of the License, or
1443 + * (at your option) any later version.
1445 + * This program is distributed in the hope that it will be useful,
1446 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1447 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1448 + * GNU General Public License for more details.
1450 + * You should have received a copy of the GNU General Public License
1451 + * along with this program; if not, write to the Free Software
1452 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1456 +/*=============================================================================
1457 VideoCore OS Abstraction Layer - timer support
1458 =============================================================================*/
1460 diff --git a/drivers/misc/vc04_services/interface/vcos/vcos_types.h b/drivers/misc/vc04_services/interface/vcos/vcos_types.h
1461 index ab16f36..25de671 100644
1462 --- a/drivers/misc/vc04_services/interface/vcos/vcos_types.h
1463 +++ b/drivers/misc/vc04_services/interface/vcos/vcos_types.h
1465 -/*=============================================================================
1466 -Copyright (c) 2009 Broadcom Europe Limited.
1467 -All rights reserved.
1469 + * Copyright (c) 2010-2011 Broadcom. All rights reserved.
1471 + * This program is free software; you can redistribute it and/or modify
1472 + * it under the terms of the GNU General Public License as published by
1473 + * the Free Software Foundation; either version 2 of the License, or
1474 + * (at your option) any later version.
1476 + * This program is distributed in the hope that it will be useful,
1477 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1478 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1479 + * GNU General Public License for more details.
1481 + * You should have received a copy of the GNU General Public License
1482 + * along with this program; if not, write to the Free Software
1483 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1487 +/*=============================================================================
1488 VideoCore OS Abstraction Layer - basic types
1489 =============================================================================*/