Mercurial > sos > sos
view include/die.h @ 150:e72f984619c7
Consolidated a lot of the defines which relate to the memory layout
There is a new file (include/os/memLayout.h) which now includes just
about all the #defines
author | Jonathan Pevarnek <pevarnj@gmail.com> |
---|---|
date | Wed, 02 Nov 2011 09:55:09 -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