case EK_EVENT_REPLACE:
EK_EVENTHANDLER(eventhandler, ev, data){  EK_EVENTHANDLER_ARGS(ev, data);    switch(ev) {  case EK_EVENT_INIT:    blue = get_color(0, 0, 0xffff);    white = get_color(0xffff, 0xffff, 0xffff);    lightgray = get_color(0xefff, 0xefff, 0xefff);    midgray = get_color(0xdfff, 0xdfff, 0xdfff);    darkgray = get_color(0xcfff, 0xcfff, 0xcfff);    ddarkgray = get_color(0xafff, 0xafff, 0xafff);    black = get_color(0, 0, 0);    break;  case EK_EVENT_REQUEST_REPLACE:    ek_replace((struct ek_proc *)data, NULL);    LOADER_UNLOAD();    break;      }}