Mercurial > sos > sos
view include/die.h @ 96:a480d02a10c8
merge
author | Jonathan Pevarnek <pevarnj@gmail.com> |
---|---|
date | Sat, 14 May 2011 12:54:47 -0400 |
parents | 40af39d064fa |
children |
line wrap: on
line source
#ifndef __DIE_H #define __DIE_H #define die() do { \ asm volatile( \ "SR %r1, %r1 # not used, but should be zero\n" \ "SR %r3, %r3 # CPU Address\n" \ "SIGP %r1, %r3, 0x05 # Signal, order 0x05\n" \ ); \ for(;;); \ } while(0) #endif