| 1 |
# French translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003. |
| 5 |
# Stéphan Rafin <[email protected]>, 2002. |
| 6 |
# Thierry Vignaud <[email protected]>, 1999, 2002. |
| 7 |
# François Micaux, 2002. |
| 8 |
# Alain Portal <[email protected]>, 2003-2008. |
| 9 |
# Jean-Philippe Guérard <[email protected]>, 2005-2006. |
| 10 |
# Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007. |
| 11 |
# Julien Cristau <[email protected]>, 2006-2007. |
| 12 |
# Thomas Huriaux <[email protected]>, 2006-2008. |
| 13 |
# Nicolas François <[email protected]>, 2006-2008. |
| 14 |
# Florentin Duneau <[email protected]>, 2006-2010. |
| 15 |
# Simon Paillard <[email protected]>, 2006. |
| 16 |
# Denis Barbier <[email protected]>, 2006, 2010. |
| 17 |
# David Prévot <[email protected]>, 2010-2014. |
| 18 |
# Jean-Pierre Giraud <[email protected]>, 2022-2024. |
| 19 |
msgid "" |
| 20 |
msgstr "" |
| 21 |
"Project-Id-Version: manpages-l10n\n" |
| 22 |
"POT-Creation-Date: 2026-06-05 06:44+0200\n" |
| 23 |
"PO-Revision-Date: 2024-12-31 19:39+0100\n" |
| 24 |
"Last-Translator: Jean-Pierre Giraud <[email protected]>\n" |
| 25 |
"Language-Team: French <[email protected]>\n" |
| 26 |
"Language: fr\n" |
| 27 |
"MIME-Version: 1.0\n" |
| 28 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 29 |
"Content-Transfer-Encoding: 8bit\n" |
| 30 |
"Plural-Forms: nplurals=2; plural=n > 1;\n" |
| 31 |
"X-Generator: Lokalize 22.12.3\n" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 35 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 36 |
#, no-wrap |
| 37 |
msgid "spu_run" |
| 38 |
msgstr "spu_run" |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 42 |
#: opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "2026-02-08" |
| 45 |
msgstr "8 février 2026" |
| 46 |
|
| 47 |
#. type: TH |
| 48 |
#: archlinux debian-unstable |
| 49 |
#, no-wrap |
| 50 |
msgid "Linux man-pages 6.18" |
| 51 |
msgstr "Pages du manuel de Linux 6.18" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "NAME" |
| 58 |
msgstr "NOM" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "spu_run - execute an SPU context" |
| 64 |
msgstr "spu_run - Exécuter un contexte SPU" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "LIBRARY" |
| 71 |
msgstr "BIBLIOTHÈQUE" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 75 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 77 |
msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)" |
| 78 |
|
| 79 |
#. type: SH |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "SYNOPSIS" |
| 84 |
msgstr "SYNOPSIS" |
| 85 |
|
| 86 |
#. type: Plain text |
| 87 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 88 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 89 |
#, no-wrap |
| 90 |
msgid "" |
| 91 |
"B<#include E<lt>sys/spu.hE<gt>> /* Definition of B<SPU_*> constants */\n" |
| 92 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n" |
| 93 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 94 |
msgstr "" |
| 95 |
"B<#include E<lt>sys/spu.hE<gt>> /* Définition des constantes B<SPU_*> */\n" |
| 96 |
"B<#include E<lt>sys/syscall.hE<gt>> /* Définition des constantes B<SYS_*> */\n" |
| 97 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, no-wrap |
| 103 |
msgid "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n" |
| 104 |
msgstr "B<int syscall(SYS_spu_run, int >I<fd>B<, uint32_t *>I<npc>B<, uint32_t *>I<event>B<);>\n" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "" |
| 110 |
"I<Note>: glibc provides no wrapper for B<spu_run>(), necessitating the use " |
| 111 |
"of B<syscall>(2)." |
| 112 |
msgstr "" |
| 113 |
"I<Remarque> : la glibc ne fournit pas d'enveloppe pour B<spu_run>(), " |
| 114 |
"imposant l'utilisation de B<syscall>(2)." |
| 115 |
|
| 116 |
#. type: SH |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
#, no-wrap |
| 120 |
msgid "DESCRIPTION" |
| 121 |
msgstr "DESCRIPTION" |
| 122 |
|
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
msgid "" |
| 127 |
"The B<spu_run>() system call is used on PowerPC machines that implement the " |
| 128 |
"Cell Broadband Engine Architecture in order to access Synergistic Processor " |
| 129 |
"Units (SPUs). The I<fd> argument is a file descriptor returned by " |
| 130 |
"B<spu_create>(2) that refers to a specific SPU context. When the context " |
| 131 |
"gets scheduled to a physical SPU, it starts execution at the instruction " |
| 132 |
"pointer passed in I<npc>." |
| 133 |
msgstr "" |
| 134 |
"L'appel système B<spu_run>() est utilisé sur les PowerPC disposant de " |
| 135 |
"l'architecture du processeur Cell dans le but d'accéder aux SPUs " |
| 136 |
"(Synergistic Processor Units). L'argument I<fd> est un descripteur de " |
| 137 |
"fichiers renvoyé par B<spu_create>(2) qui se réfère à un contexte SPU " |
| 138 |
"spécifique. Lorsque le contexte est livré à un SPU physique, il démarre son " |
| 139 |
"exécution au pointeur d'instruction passé à I<npc>." |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "" |
| 145 |
"Execution of SPU code happens synchronously, meaning that B<spu_run>() " |
| 146 |
"blocks while the SPU is still running. If there is a need to execute SPU " |
| 147 |
"code in parallel with other code on either the main CPU or other SPUs, a new " |
| 148 |
"thread of execution must be created first (e.g., using B<pthread_create>(3))." |
| 149 |
msgstr "" |
| 150 |
"L'exécution du code SPU se fait de manière synchrone. C'est pourquoi " |
| 151 |
"B<spu_run>() est bloquant tant que le SPU fonctionne. S'il est nécessaire " |
| 152 |
"d'exécuter du code SPU en parallèle avec d'autres codes, que se soit sur le " |
| 153 |
"processeur principal ou sur d'autres SPU, un nouveau thread doit d'abord " |
| 154 |
"être créé (par exemple en utilisant B<pthread_create>(3))." |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "" |
| 160 |
"When B<spu_run>() returns, the current value of the SPU program counter is " |
| 161 |
"written to I<npc>, so successive calls to B<spu_run>() can use the same " |
| 162 |
"I<npc> pointer." |
| 163 |
msgstr "" |
| 164 |
"Lorsque B<spu_run>() revient, la valeur courante du pointeur d'instruction " |
| 165 |
"SPU est écrite à I<npc>, donc il est possible d'appeler B<spu_run>() de " |
| 166 |
"nouveau avec le même pointeur I<npc>." |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "" |
| 172 |
"The I<event> argument provides a buffer for an extended status code. If the " |
| 173 |
"SPU context was created with the B<SPU_CREATE_EVENTS_ENABLED> flag, then " |
| 174 |
"this buffer is populated by the Linux kernel before B<spu_run>() returns." |
| 175 |
msgstr "" |
| 176 |
"Le paramètre I<event> fournit un tampon pour un code d'état étendu. Si le " |
| 177 |
"contexte SPU a été créé avec l'attribut B<SPU_CREATE_EVENTS_ENABLED>, ce " |
| 178 |
"tampon sera rempli par le noyau Linux avant que B<spu_run>() revienne." |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "The status code may be one (or more) of the following constants:" |
| 184 |
msgstr "Le code d'état peut être l'une (ou plus) des constantes suivantes :" |
| 185 |
|
| 186 |
#. type: TP |
| 187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 189 |
#, no-wrap |
| 190 |
msgid "B<SPE_EVENT_DMA_ALIGNMENT>" |
| 191 |
msgstr "B<SPE_EVENT_DMA_ALIGNMENT>" |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "A DMA alignment error occurred." |
| 197 |
msgstr "Une erreur d'alignement DMA s'est produite." |
| 198 |
|
| 199 |
#. type: TP |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "B<SPE_EVENT_INVALID_DMA>" |
| 204 |
msgstr "B<SPE_EVENT_INVALID_DMA>" |
| 205 |
|
| 206 |
#. SPE_EVENT_SPE_DATA_SEGMENT is defined, but does not seem to be generated |
| 207 |
#. at any point (in Linux 5.9 sources). |
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
msgid "An invalid MFC DMA command was attempted." |
| 212 |
msgstr "Une commande MFC DMA invalide a été tentée." |
| 213 |
|
| 214 |
#. type: TP |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
#, no-wrap |
| 218 |
msgid "B<SPE_EVENT_SPE_DATA_STORAGE>" |
| 219 |
msgstr "B<SPE_EVENT_SPE_DATA_STORAGE>" |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
msgid "A DMA storage error occurred." |
| 225 |
msgstr "Une erreur de stockage DMA s'est produite." |
| 226 |
|
| 227 |
#. type: TP |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "B<SPE_EVENT_SPE_ERROR>" |
| 232 |
msgstr "B<SPE_EVENT_SPE_ERROR>" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "An illegal instruction was executed." |
| 238 |
msgstr "Une instruction illégale a été exécutée." |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "" |
| 244 |
"NULL is a valid value for the I<event> argument. In this case, the events " |
| 245 |
"will not be reported to the calling process." |
| 246 |
msgstr "" |
| 247 |
"NULL est une valeur valable pour le paramètre I<event>. Dans ce cas, les " |
| 248 |
"événements ne seront pas remontés au processus appelant." |
| 249 |
|
| 250 |
#. type: SH |
| 251 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 252 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 253 |
#, no-wrap |
| 254 |
msgid "RETURN VALUE" |
| 255 |
msgstr "VALEUR RENVOYÉE" |
| 256 |
|
| 257 |
#. type: Plain text |
| 258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 260 |
msgid "" |
| 261 |
"On success, B<spu_run>() returns the value of the I<spu_status> register. " |
| 262 |
"On failure, it returns -1 and sets I<errno> is set to indicate the error." |
| 263 |
msgstr "" |
| 264 |
"En cas de succès, B<spu_run>() renvoie la valeur du registre I<spu_status>. " |
| 265 |
"En cas d'échec, l'appel renvoie B<-1> et I<errno> est défini pour indiquer " |
| 266 |
"l'erreur." |
| 267 |
|
| 268 |
#. type: Plain text |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
msgid "" |
| 272 |
"The I<spu_status> register value is a bit mask of status codes and " |
| 273 |
"optionally a 14-bit code returned from the B<stop-and-signal> instruction on " |
| 274 |
"the SPU. The bit masks for the status codes are:" |
| 275 |
msgstr "" |
| 276 |
"La valeur du registre I<spu_status> est un masque de bits de code d'erreurs " |
| 277 |
"et en option d'un code de retour de 14 bits provenant de l'instruction " |
| 278 |
"B<stop-and-signal> du SPU. Les bits des masques du code de retour sont :" |
| 279 |
|
| 280 |
#. type: TP |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "B<0x02>" |
| 285 |
msgstr "B<0x02>" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "SPU was stopped by a B<stop-and-signal> instruction." |
| 291 |
msgstr "Le SPU a été stoppé par une instruction B<stop-and-signal>." |
| 292 |
|
| 293 |
#. type: TP |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "B<0x04>" |
| 298 |
msgstr "B<0x04>" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "SPU was stopped by a B<halt> instruction." |
| 304 |
msgstr "Le SPU a été arrêté par une instruction B<halt>." |
| 305 |
|
| 306 |
#. type: TP |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "B<0x08>" |
| 311 |
msgstr "B<0x08>" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
msgid "SPU is waiting for a channel." |
| 317 |
msgstr "Le SPU est en attente d'un canal." |
| 318 |
|
| 319 |
#. type: TP |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, no-wrap |
| 323 |
msgid "B<0x10>" |
| 324 |
msgstr "B<0x10>" |
| 325 |
|
| 326 |
#. type: Plain text |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
msgid "SPU is in single-step mode." |
| 330 |
msgstr "Le SPU est en mode single-step." |
| 331 |
|
| 332 |
#. type: TP |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "B<0x20>" |
| 337 |
msgstr "B<0x20>" |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "SPU has tried to execute an invalid instruction." |
| 343 |
msgstr "SPU a essayé d'exécuter une instruction non valable." |
| 344 |
|
| 345 |
#. type: TP |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "B<0x40>" |
| 350 |
msgstr "B<0x40>" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "SPU has tried to access an invalid channel." |
| 356 |
msgstr "SPU a essayé d'accéder à un canal non valable." |
| 357 |
|
| 358 |
#. type: TP |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
#, no-wrap |
| 362 |
msgid "B<0x3fff0000>" |
| 363 |
msgstr "B<0x3fff0000>" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "" |
| 369 |
"The bits masked with this value contain the code returned from a B<stop-and-" |
| 370 |
"signal> instruction. These bits are valid only if the 0x02 bit is set." |
| 371 |
msgstr "" |
| 372 |
"Les bits masqués avec cette valeur contiennent le code renvoyé par une " |
| 373 |
"instruction B<stop-and-signal>. Ces bits ne sont valables que si le bit 0x02 " |
| 374 |
"est positionné." |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "" |
| 380 |
"If B<spu_run>() has not returned an error, one or more bits among the lower " |
| 381 |
"eight ones are always set." |
| 382 |
msgstr "" |
| 383 |
"Si B<spu_run>() ne renvoie pas d'erreur, au moins un des huit bits de poids " |
| 384 |
"faible est toujours positionné." |
| 385 |
|
| 386 |
#. type: SH |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
#, no-wrap |
| 390 |
msgid "ERRORS" |
| 391 |
msgstr "ERREURS" |
| 392 |
|
| 393 |
#. type: TP |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "B<EBADF>" |
| 398 |
msgstr "B<EBADF>" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "I<fd> is not a valid file descriptor." |
| 404 |
msgstr "I<fd> n'est pas un descripteur de fichier valable." |
| 405 |
|
| 406 |
#. type: TP |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "B<EFAULT>" |
| 411 |
msgstr "B<EFAULT>" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
msgid "" |
| 417 |
"I<npc> is not a valid pointer, or I<event> is non-NULL and an invalid " |
| 418 |
"pointer." |
| 419 |
msgstr "" |
| 420 |
"I<npc> n'est pas un pointeur valable ou I<event> n'est ni NULL ni un " |
| 421 |
"pointeur valable." |
| 422 |
|
| 423 |
#. type: TP |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "B<EINTR>" |
| 428 |
msgstr "B<EINTR>" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"A signal occurred while B<spu_run>() was in progress; see B<signal>(7). " |
| 435 |
"The I<npc> value has been updated to the new program counter value if " |
| 436 |
"necessary." |
| 437 |
msgstr "" |
| 438 |
"Un signal est apparu pendant la progression de B<spu_run>() ; consultez " |
| 439 |
"B<signal>(7). La valeur I<npc> a été mise à jour à la nouvelle valeur du " |
| 440 |
"compteur de programme si nécessaire." |
| 441 |
|
| 442 |
#. type: TP |
| 443 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 444 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 445 |
#, no-wrap |
| 446 |
msgid "B<EINVAL>" |
| 447 |
msgstr "B<EINVAL>" |
| 448 |
|
| 449 |
#. type: Plain text |
| 450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 452 |
msgid "I<fd> is not a valid file descriptor returned from B<spu_create>(2)." |
| 453 |
msgstr "" |
| 454 |
"I<fd> n'est pas un descripteur de fichier valable renvoyé par " |
| 455 |
"B<spu_create>(2)." |
| 456 |
|
| 457 |
#. type: TP |
| 458 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 459 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 460 |
#, no-wrap |
| 461 |
msgid "B<ENOMEM>" |
| 462 |
msgstr "B<ENOMEM>" |
| 463 |
|
| 464 |
#. type: Plain text |
| 465 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 466 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 467 |
msgid "" |
| 468 |
"There was not enough memory available to handle a page fault resulting from " |
| 469 |
"a Memory Flow Controller (MFC) direct memory access." |
| 470 |
msgstr "" |
| 471 |
"Il n'y a pas suffisamment de mémoire disponible pour gérer une faute de page " |
| 472 |
"résultant d'un accès direct à la mémoire d'un MFC (« Memory Flow " |
| 473 |
"Controller »)." |
| 474 |
|
| 475 |
#. type: TP |
| 476 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 477 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
#, no-wrap |
| 479 |
msgid "B<ENOSYS>" |
| 480 |
msgstr "B<ENOSYS>" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
msgid "" |
| 486 |
"The functionality is not provided by the current system, because either the " |
| 487 |
"hardware does not provide SPUs or the spufs module is not loaded." |
| 488 |
msgstr "" |
| 489 |
"La fonctionnalité n'est par fournie par le système actuel parce que le " |
| 490 |
"matériel ne fournit pas de SPU ou parce que le module spufs n'est pas chargé." |
| 491 |
|
| 492 |
#. type: SH |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
#, no-wrap |
| 496 |
msgid "STANDARDS" |
| 497 |
msgstr "NORMES" |
| 498 |
|
| 499 |
#. type: Plain text |
| 500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 502 |
msgid "Linux on PowerPC." |
| 503 |
msgstr "Linux sur PowerPC." |
| 504 |
|
| 505 |
#. type: SH |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
#, no-wrap |
| 509 |
msgid "HISTORY" |
| 510 |
msgstr "HISTORIQUE" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 514 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 515 |
msgid "Linux 2.6.16." |
| 516 |
msgstr "Linux 2.6.16." |
| 517 |
|
| 518 |
#. type: SH |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "NOTES" |
| 523 |
msgstr "NOTES" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 527 |
#: opensuse-tumbleweed |
| 528 |
#, fuzzy |
| 529 |
#| msgid "" |
| 530 |
#| "B<spu_run>() is meant to be used from libraries that implement a more " |
| 531 |
#| "abstract interface to SPUs, not to be used from regular applications. " |
| 532 |
#| "See E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> " |
| 533 |
#| "E<.UE> for the recommended libraries." |
| 534 |
msgid "" |
| 535 |
"B<spu_run>() is meant to be used from libraries that implement a more " |
| 536 |
"abstract interface to SPUs, not to be used from regular applications. See " |
| 537 |
"E<.UR http:\\://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> " |
| 538 |
"E<.UE> for the recommended libraries." |
| 539 |
msgstr "" |
| 540 |
"B<spu_run>() est conçu pour être appelé depuis des bibliothèques qui " |
| 541 |
"implémentent une interface plus abstraite pour les SPU, pas pour être appelé " |
| 542 |
"directement par les applications normales. Consultez E<.UR http://" |
| 543 |
"www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> pour les " |
| 544 |
"bibliothèques recommandées." |
| 545 |
|
| 546 |
#. type: SH |
| 547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "EXAMPLES" |
| 551 |
msgstr "EXEMPLES" |
| 552 |
|
| 553 |
#. type: Plain text |
| 554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 556 |
msgid "" |
| 557 |
"The following is an example of running a simple, one-instruction SPU program " |
| 558 |
"with the B<spu_run>() system call." |
| 559 |
msgstr "" |
| 560 |
"Vous trouverez ci-dessous un exemple pour lancer un programme simple, d'une " |
| 561 |
"instruction SPU, utilisant l'appel système B<spu_run>()." |
| 562 |
|
| 563 |
#. type: Plain text |
| 564 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 565 |
#: opensuse-tumbleweed |
| 566 |
#, fuzzy, no-wrap |
| 567 |
#| msgid "" |
| 568 |
#| "#include E<lt>err.hE<gt>\n" |
| 569 |
#| "#include E<lt>fcntl.hE<gt>\n" |
| 570 |
#| "#include E<lt>stdint.hE<gt>\n" |
| 571 |
#| "#include E<lt>stdio.hE<gt>\n" |
| 572 |
#| "#include E<lt>stdlib.hE<gt>\n" |
| 573 |
#| "#include E<lt>sys/types.hE<gt>\n" |
| 574 |
#| "#include E<lt>unistd.hE<gt>\n" |
| 575 |
#| "\\&\n" |
| 576 |
#| "int main(void)\n" |
| 577 |
#| "{\n" |
| 578 |
#| " int context, fd, spu_status;\n" |
| 579 |
#| " uint32_t instruction, npc;\n" |
| 580 |
#| "\\&\n" |
| 581 |
#| " context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n" |
| 582 |
#| " if (context == -1)\n" |
| 583 |
#| " err(EXIT_FAILURE, \"spu_create\");\n" |
| 584 |
#| "\\&\n" |
| 585 |
#| " /*\n" |
| 586 |
#| " * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 587 |
#| " * local store memory.\n" |
| 588 |
#| " */\n" |
| 589 |
#| " instruction = 0x00001234;\n" |
| 590 |
#| "\\&\n" |
| 591 |
#| " fd = open(\"/spu/example-context/mem\", O_RDWR);\n" |
| 592 |
#| " if (fd == -1)\n" |
| 593 |
#| " err(EXIT_FAILURE, \"open\");\n" |
| 594 |
#| " write(fd, &instruction, sizeof(instruction));\n" |
| 595 |
#| "\\&\n" |
| 596 |
#| " /*\n" |
| 597 |
#| " * set npc to the starting instruction address of the\n" |
| 598 |
#| " * SPU program. Since we wrote the instruction at the\n" |
| 599 |
#| " * start of the mem file, the entry point will be 0x0.\n" |
| 600 |
#| " */\n" |
| 601 |
#| " npc = 0;\n" |
| 602 |
#| "\\&\n" |
| 603 |
#| " spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n" |
| 604 |
#| " if (spu_status == -1)\n" |
| 605 |
#| " err(EXIT_FAILURE, \"open\");\n" |
| 606 |
#| "\\&\n" |
| 607 |
#| " /*\n" |
| 608 |
#| " * We should see a status code of 0x12340002:\n" |
| 609 |
#| " * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 610 |
#| " * | 0x12340000 (the stop-and-signal code)\n" |
| 611 |
#| " */\n" |
| 612 |
#| " printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 613 |
#| "\\&\n" |
| 614 |
#| " exit(EXIT_SUCCESS);\n" |
| 615 |
#| "}\n" |
| 616 |
msgid "" |
| 617 |
"#include E<lt>err.hE<gt>\n" |
| 618 |
"#include E<lt>fcntl.hE<gt>\n" |
| 619 |
"#include E<lt>stdint.hE<gt>\n" |
| 620 |
"#include E<lt>stdio.hE<gt>\n" |
| 621 |
"#include E<lt>stdlib.hE<gt>\n" |
| 622 |
"#include E<lt>sys/types.hE<gt>\n" |
| 623 |
"#include E<lt>unistd.hE<gt>\n" |
| 624 |
"\\&\n" |
| 625 |
"int main(void)\n" |
| 626 |
"{\n" |
| 627 |
" int context, fd, spu_status;\n" |
| 628 |
" uint32_t instruction, npc;\n" |
| 629 |
"\\&\n" |
| 630 |
" context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n" |
| 631 |
" if (context == -1)\n" |
| 632 |
" err(EXIT_FAILURE, \"spu_create\");\n" |
| 633 |
"\\&\n" |
| 634 |
" /*\n" |
| 635 |
" * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 636 |
" * local store memory.\n" |
| 637 |
" */\n" |
| 638 |
" instruction = 0x00001234;\n" |
| 639 |
"\\&\n" |
| 640 |
" fd = open(\"/spu/example-context/mem\", O_RDWR);\n" |
| 641 |
" if (fd == -1)\n" |
| 642 |
" err(EXIT_FAILURE, \"open\");\n" |
| 643 |
" write(fd, &instruction, sizeof(instruction));\n" |
| 644 |
"\\&\n" |
| 645 |
" /*\n" |
| 646 |
" * set npc to the starting instruction address of the\n" |
| 647 |
" * SPU program. Since we wrote the instruction at the\n" |
| 648 |
" * start of the mem file, the entry point will be 0x0.\n" |
| 649 |
" */\n" |
| 650 |
" npc = 0;\n" |
| 651 |
"\\&\n" |
| 652 |
" spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n" |
| 653 |
" if (spu_status == -1)\n" |
| 654 |
" err(EXIT_FAILURE, \"open\");\n" |
| 655 |
"\\&\n" |
| 656 |
" /*\n" |
| 657 |
" * We should see a status code of 0x12340002:\n" |
| 658 |
" * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 659 |
" * | 0x12340000 (the stop-and-signal code)\n" |
| 660 |
" */\n" |
| 661 |
" printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 662 |
"\\&\n" |
| 663 |
" exit(EXIT_SUCCESS);\n" |
| 664 |
"}\n" |
| 665 |
msgstr "" |
| 666 |
"#include E<lt>err.hE<gt>\n" |
| 667 |
"#include E<lt>fcntl.hE<gt>\n" |
| 668 |
"#include E<lt>stdint.hE<gt>\n" |
| 669 |
"#include E<lt>stdio.hE<gt>\n" |
| 670 |
"#include E<lt>stdlib.hE<gt>\n" |
| 671 |
"#include E<lt>sys/types.hE<gt>\n" |
| 672 |
"#include E<lt>unistd.hE<gt>\n" |
| 673 |
"\\&\n" |
| 674 |
"int main(void)\n" |
| 675 |
"{\n" |
| 676 |
" int context, fd, spu_status;\n" |
| 677 |
" uint32_t instruction, npc;\n" |
| 678 |
"\\&\n" |
| 679 |
" context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n" |
| 680 |
" if (context == -1)\n" |
| 681 |
" err(EXIT_FAILURE, \"spu_create\");\n" |
| 682 |
"\\&\n" |
| 683 |
" /*\n" |
| 684 |
" * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 685 |
" * local store memory.\n" |
| 686 |
" */\n" |
| 687 |
" instruction = 0x00001234;\n" |
| 688 |
"\\&\n" |
| 689 |
" fd = open(\"/spu/example-context/mem\", O_RDWR);\n" |
| 690 |
" if (fd == -1)\n" |
| 691 |
" err(EXIT_FAILURE, \"open\");\n" |
| 692 |
" write(fd, &instruction, sizeof(instruction));\n" |
| 693 |
"\\&\n" |
| 694 |
" /*\n" |
| 695 |
" * set npc to the starting instruction address of the\n" |
| 696 |
" * SPU program. Since we wrote the instruction at the\n" |
| 697 |
" * start of the mem file, the entry point will be 0x0.\n" |
| 698 |
" */\n" |
| 699 |
" npc = 0;\n" |
| 700 |
"\\&\n" |
| 701 |
" spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n" |
| 702 |
" if (spu_status == -1)\n" |
| 703 |
" err(EXIT_FAILURE, \"open\");\n" |
| 704 |
"\\&\n" |
| 705 |
" /*\n" |
| 706 |
" * We should see a status code of 0x12340002:\n" |
| 707 |
" * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 708 |
" * | 0x12340000 (the stop-and-signal code)\n" |
| 709 |
" */\n" |
| 710 |
" printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 711 |
"\\&\n" |
| 712 |
" exit(EXIT_SUCCESS);\n" |
| 713 |
"}\n" |
| 714 |
|
| 715 |
#. SRC END |
| 716 |
#. .SH AUTHORS |
| 717 |
#. Arnd Bergmann <[email protected]>, Jeremy Kerr <[email protected]> |
| 718 |
#. type: SH |
| 719 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 720 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 721 |
#, no-wrap |
| 722 |
msgid "SEE ALSO" |
| 723 |
msgstr "VOIR AUSSI" |
| 724 |
|
| 725 |
#. type: Plain text |
| 726 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 727 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 728 |
msgid "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)" |
| 729 |
msgstr "B<close>(2), B<spu_create>(2), B<capabilities>(7), B<spufs>(7)" |
| 730 |
|
| 731 |
#. type: TH |
| 732 |
#: debian-trixie |
| 733 |
#, no-wrap |
| 734 |
msgid "2024-06-15" |
| 735 |
msgstr "15 juin 2024" |
| 736 |
|
| 737 |
#. type: TH |
| 738 |
#: debian-trixie |
| 739 |
#, no-wrap |
| 740 |
msgid "Linux man-pages 6.9.1" |
| 741 |
msgstr "Pages du manuel de Linux 6.9.1" |
| 742 |
|
| 743 |
#. type: Plain text |
| 744 |
#: debian-trixie |
| 745 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 746 |
msgstr "Bibliothèque C standard (I<libc>, I<-lc>)" |
| 747 |
|
| 748 |
#. type: Plain text |
| 749 |
#: debian-trixie fedora-44 fedora-rawhide |
| 750 |
msgid "" |
| 751 |
"B<spu_run>() is meant to be used from libraries that implement a more " |
| 752 |
"abstract interface to SPUs, not to be used from regular applications. See " |
| 753 |
"E<.UR http://www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> " |
| 754 |
"for the recommended libraries." |
| 755 |
msgstr "" |
| 756 |
"B<spu_run>() est conçu pour être appelé depuis des bibliothèques qui " |
| 757 |
"implémentent une interface plus abstraite pour les SPU, pas pour être appelé " |
| 758 |
"directement par les applications normales. Consultez E<.UR http://" |
| 759 |
"www.bsc.es\\:/projects\\:/deepcomputing\\:/linuxoncell/> E<.UE> pour les " |
| 760 |
"bibliothèques recommandées." |
| 761 |
|
| 762 |
#. type: Plain text |
| 763 |
#: debian-trixie fedora-44 fedora-rawhide |
| 764 |
#, no-wrap |
| 765 |
msgid "" |
| 766 |
"#include E<lt>err.hE<gt>\n" |
| 767 |
"#include E<lt>fcntl.hE<gt>\n" |
| 768 |
"#include E<lt>stdint.hE<gt>\n" |
| 769 |
"#include E<lt>stdio.hE<gt>\n" |
| 770 |
"#include E<lt>stdlib.hE<gt>\n" |
| 771 |
"#include E<lt>sys/types.hE<gt>\n" |
| 772 |
"#include E<lt>unistd.hE<gt>\n" |
| 773 |
"\\&\n" |
| 774 |
"int main(void)\n" |
| 775 |
"{\n" |
| 776 |
" int context, fd, spu_status;\n" |
| 777 |
" uint32_t instruction, npc;\n" |
| 778 |
"\\&\n" |
| 779 |
" context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n" |
| 780 |
" if (context == -1)\n" |
| 781 |
" err(EXIT_FAILURE, \"spu_create\");\n" |
| 782 |
"\\&\n" |
| 783 |
" /*\n" |
| 784 |
" * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 785 |
" * local store memory.\n" |
| 786 |
" */\n" |
| 787 |
" instruction = 0x00001234;\n" |
| 788 |
"\\&\n" |
| 789 |
" fd = open(\"/spu/example-context/mem\", O_RDWR);\n" |
| 790 |
" if (fd == -1)\n" |
| 791 |
" err(EXIT_FAILURE, \"open\");\n" |
| 792 |
" write(fd, &instruction, sizeof(instruction));\n" |
| 793 |
"\\&\n" |
| 794 |
" /*\n" |
| 795 |
" * set npc to the starting instruction address of the\n" |
| 796 |
" * SPU program. Since we wrote the instruction at the\n" |
| 797 |
" * start of the mem file, the entry point will be 0x0.\n" |
| 798 |
" */\n" |
| 799 |
" npc = 0;\n" |
| 800 |
"\\&\n" |
| 801 |
" spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n" |
| 802 |
" if (spu_status == -1)\n" |
| 803 |
" err(EXIT_FAILURE, \"open\");\n" |
| 804 |
"\\&\n" |
| 805 |
" /*\n" |
| 806 |
" * We should see a status code of 0x12340002:\n" |
| 807 |
" * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 808 |
" * | 0x12340000 (the stop-and-signal code)\n" |
| 809 |
" */\n" |
| 810 |
" printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 811 |
"\\&\n" |
| 812 |
" exit(EXIT_SUCCESS);\n" |
| 813 |
"}\n" |
| 814 |
msgstr "" |
| 815 |
"#include E<lt>err.hE<gt>\n" |
| 816 |
"#include E<lt>fcntl.hE<gt>\n" |
| 817 |
"#include E<lt>stdint.hE<gt>\n" |
| 818 |
"#include E<lt>stdio.hE<gt>\n" |
| 819 |
"#include E<lt>stdlib.hE<gt>\n" |
| 820 |
"#include E<lt>sys/types.hE<gt>\n" |
| 821 |
"#include E<lt>unistd.hE<gt>\n" |
| 822 |
"\\&\n" |
| 823 |
"int main(void)\n" |
| 824 |
"{\n" |
| 825 |
" int context, fd, spu_status;\n" |
| 826 |
" uint32_t instruction, npc;\n" |
| 827 |
"\\&\n" |
| 828 |
" context = syscall(SYS_spu_create, \"/spu/example-context\", 0, 0755);\n" |
| 829 |
" if (context == -1)\n" |
| 830 |
" err(EXIT_FAILURE, \"spu_create\");\n" |
| 831 |
"\\&\n" |
| 832 |
" /*\n" |
| 833 |
" * Write a \\[aq]stop 0x1234\\[aq] instruction to the SPU\\[aq]s\n" |
| 834 |
" * local store memory.\n" |
| 835 |
" */\n" |
| 836 |
" instruction = 0x00001234;\n" |
| 837 |
"\\&\n" |
| 838 |
" fd = open(\"/spu/example-context/mem\", O_RDWR);\n" |
| 839 |
" if (fd == -1)\n" |
| 840 |
" err(EXIT_FAILURE, \"open\");\n" |
| 841 |
" write(fd, &instruction, sizeof(instruction));\n" |
| 842 |
"\\&\n" |
| 843 |
" /*\n" |
| 844 |
" * set npc to the starting instruction address of the\n" |
| 845 |
" * SPU program. Since we wrote the instruction at the\n" |
| 846 |
" * start of the mem file, the entry point will be 0x0.\n" |
| 847 |
" */\n" |
| 848 |
" npc = 0;\n" |
| 849 |
"\\&\n" |
| 850 |
" spu_status = syscall(SYS_spu_run, context, &npc, NULL);\n" |
| 851 |
" if (spu_status == -1)\n" |
| 852 |
" err(EXIT_FAILURE, \"open\");\n" |
| 853 |
"\\&\n" |
| 854 |
" /*\n" |
| 855 |
" * We should see a status code of 0x12340002:\n" |
| 856 |
" * 0x00000002 (spu was stopped due to stop-and-signal)\n" |
| 857 |
" * | 0x12340000 (the stop-and-signal code)\n" |
| 858 |
" */\n" |
| 859 |
" printf(\"SPU Status: %#08x\\[rs]n\", spu_status);\n" |
| 860 |
"\\&\n" |
| 861 |
" exit(EXIT_SUCCESS);\n" |
| 862 |
"}\n" |
| 863 |
|
| 864 |
#. type: TH |
| 865 |
#: fedora-44 fedora-rawhide |
| 866 |
#, no-wrap |
| 867 |
msgid "2024-07-23" |
| 868 |
msgstr "23 juillet 2024" |
| 869 |
|
| 870 |
#. type: TH |
| 871 |
#: fedora-44 fedora-rawhide |
| 872 |
#, no-wrap |
| 873 |
msgid "Linux man-pages 6.13" |
| 874 |
msgstr "Pages du manuel de Linux 6.13" |
| 875 |
|
| 876 |
#. type: TH |
| 877 |
#: mageia-cauldron |
| 878 |
#, no-wrap |
| 879 |
msgid "Linux man-pages 6.17" |
| 880 |
msgstr "Pages du manuel de Linux 6.17" |
| 881 |
|
| 882 |
#. type: TH |
| 883 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
#, no-wrap |
| 885 |
msgid "Linux man-pages (unreleased)" |
| 886 |
msgstr "Pages du manuel de Linux (non publiées)" |