La notion de typage est une notion toute relative
(et si $myVar[0] est un tableau, $myVar ne change pas de type )
static uint32_t armv7m_getipsr(void) { register int ipsr asm("r0"); asm("MRS r0, IPSR" : "=l" (ipsr)); return ipsr; }
000000d4 <armv7m_getipsr>: d4: b480 push {r7} d6: af00 add r7, sp, #0 d8: f3ef 8005 mrs r0, IPSR dc: 4603 mov r3, r0 de: 4618 mov r0, r3 e0: 46bd mov sp, r7 e2: bc80 pop {r7} e4: 4770 bx lr e6: bf00 nop
static uint32_t armv7m_getipsr(void) { register int ipsr asm("r3"); asm("MRS r3, IPSR" : "=l" (ipsr)); return ipsr; }
000000d4 <armv7m_getipsr>: d4: b480 push {r7} d6: af00 add r7, sp, #0 d8: f3ef 8305 mrs r3, IPSR dc: 4618 mov r0, r3 de: 46bd mov sp, r7 e0: bc80 pop {r7} e2: 4770 bx lr
static uint32_t __attribute__((naked)) armv7m_getipsr(void) { asm volatile ("MRS r0, IPSR" ::: "r0"); }
000000d4 <armv7m_getipsr>: d4: f3ef 8005 mrs r0, IPSR d8: bf00 nop da: 4618 mov r0, r3
00000000 <armv7m_getipsr>: 0: f3ef 8305 mrs r3, IPSR 4: 4618 mov r0, r3 6: 4770 bx lr
00000000 <armv7m_getipsr>: 0: f3ef 8005 mrs r0, IPSR 4: 4770 bx lr 6: bf00 nop
Brunni (./1584) :
Bon aujourd'hui
Je me dis "bon je vais rebuilder le client pour ma machine", après tout ce sont des binaires précompilés qui étaient sur le git.
Evidemment impossible de recompiler. Il ne trouve pas gtk/gtk.h. Bien sûr, sur ma machine il y a GTK2 et GTK3 installés.
Après tout c'est "l'avantage" de Linux : pas de mises à jour automatiques
Godzil (./1585) :
(c'es quoi "CEF" ?)
/*----------------------------------------------------------------------------*/ /* The return value of this function is the SP from where the irq frame should be popped. * If no context switching is implied, always return unmodified sp. */ void* armv7m_irq(void *sp, uint32_t irqno) { /* Compute table index */ irqno -= 2; /* Check that a handler is attached */ if(handlers[irqno]!=0) { /* Call the handler */ handlers[irqno](irqno, &sp, args[irqno]); } return sp; } /*----------------------------------------------------------------------------*/ void __attribute__((naked)) armv7m_irqentry(void) { asm volatile ( "mov r0, sp \n" /* Save SP that points to the irq stack frame */ "push {lr} \n" /* Backup the LR, this is the only one that must not be messed up */ "mrs r1, ipsr \n" /* Get the IRQ number */ "bl armv7m_irq \n" /* Call into C with args in r0,r1 */ "pop {lr} \n" /* Restore LR */ "mov sp, r0 \n" /* Get new SP from C code */ "bx lr \n" /* Magic EXC_RETURN */ ::: "r0", "r1", "lr", "sp" /* Clobber list */ ); }