view examples/hello.c @ 1880:f1b7f56dba25

* include/linux/spinlock.h (DEFINE_SPINLOCK): Added. * include/linux/slab.h (vfree): Added vmalloc and vfree which map to malloc and free. * include/linux/rwsem.h: New file. eCos does not have read/write semaphores so these are mapped to normal semaphores.
author asl
date Sat, 22 Jan 2005 16:50:09 +0000
parents ead06911cbae
children
line wrap: on
line source

/* this is a simple hello world program */
#include <stdio.h>

int main(void)
{
  printf("Hello, eCos world!\n");
  return 0;
}