summaryrefslogtreecommitdiffstats
path: root/lib/untyped-retype.c
blob: 70fb4d27a75de6856c82f34d9caafd1fd1779904 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <object.h>
#include <memory.h>
#include <stddef.h>
#include <error.h>

int
ko_untyped_retype_objdir(objdir_entry_t *target)
{
    size_t *untyped = ko_entry_data(target);
    if(*untyped != 0x1000) return -KE_BADSIZE;
}