Skip to content

Instantly share code, notes, and snippets.

@ldunn
Created October 31, 2009 00:05
Show Gist options
  • Save ldunn/222838 to your computer and use it in GitHub Desktop.
Save ldunn/222838 to your computer and use it in GitHub Desktop.
#include <metodo/metodo.h>
#include <buildid.h>
void InInitKernel(void)
{
char *str = "Metodo " __DATE__ " " __TIME__ " " ARCH " " SCM_REV "\n";
HalInit();
HalDisplayString(str);
CoShutdown(SD_OFF);
int i = 1/0;
// It should never get here
asm volatile ("int $0");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment