File: Kernel.c

package info (click to toggle)
oo2c64 1.5.0-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 8,904 kB
  • ctags: 5,775
  • sloc: ansic: 97,209; sh: 473; makefile: 344; perl: 57; lisp: 21
file content (66 lines) | stat: -rw-r--r-- 1,153 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* file generated by oo2c -- do not edit */
#include "__oo2c.h"
#include "__libc.h"

static _ModId _mid;

/* module and type descriptors */
static const struct {
  int length;
  void* pad;
  const char name[7];
} _n0 = {7, NULL, {"Kernel"}};
static struct _MD Kernel_md = {
  NULL, 
  &Kernel__ModuleDesc_td.td, 
  {
    NULL, 
    (const unsigned char*)_n0.name, 
    -1, 
    NULL
  }
};

/* this type descriptor is defined in __Descr.c:
static const struct {
  int length;
  void* pad;
  const char name[11];
} _n1 = {11, NULL, {"ModuleDesc"}};
static const struct {
  int length;
  void* pad;
  _Type btypes[1];
} Kernel_ModuleDesc__tdb = {
  1, 
  NULL, 
  {
    &Kernel_ModuleDesc__td.td
  }
};
static const struct {
  int length;
  void* pad;
  const void* tbprocs[1];
} _tb0 = {0, NULL, {
  NULL
}};
struct _TD Kernel_ModuleDesc__td = {
  NULL, 
  &Types_TypeDesc__td.td, 
  {
    Kernel_ModuleDesc__tdb.btypes, 
    (void**)_tb0.tbprocs, 
    (const unsigned char*)_n1.name, 
    &Kernel_md.md, 
    0, 
    '0', '1', 
    16, 
    NULL
  }
};
*/

void Kernel_init(void) {
  _mid = _register_module(&Kernel_md.md, &Kernel__ModuleDesc_td.td);
}