]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/src/abi/sparc/kip-sparc.cpp
update
[l4.git] / kernel / fiasco / src / abi / sparc / kip-sparc.cpp
1 /*
2  * SPARC Kernel-Info Page
3  */
4
5 INTERFACE [sparc]:
6
7 #include "types.h"
8
9 EXTENSION class Kip
10 {
11 public:
12
13   /* 0x00 */
14   Mword      magic;
15   Mword      version;
16   Unsigned8  offset_version_strings;
17   Unsigned8  fill0[3];
18   Unsigned8  kip_sys_calls;
19   Unsigned8  fill1[3];
20
21   /* the following stuff is undocumented; we assume that the kernel
22      info page is located at offset 0x1000 into the L4 kernel boot
23      image so that these declarations are consistent with section 2.9
24      of the L4 Reference Manual */
25
26   /* 0x10 */
27   Mword      sched_granularity;
28   Mword      _res1[3];
29
30   /* 0x20 */
31   Mword      sigma0_sp, sigma0_ip;
32   Mword      _res2[2];
33
34   /* 0x30 */
35   Mword      sigma1_sp, sigma1_ip;
36   Mword      _res3[2];
37
38   /* 0x40 */
39   Mword      root_sp, root_ip;
40   Mword      _res4[2];
41
42   /* 0x50 */
43   Mword      _res_50;
44   Mword      _mem_info;
45   Mword      _res_58[2];
46
47   /* 0x60 */
48   Mword      _res5[16];
49
50   /* 0xA0 */
51   volatile Cpu_time clock;
52   Unsigned64 _res6;
53
54   /* 0xB0 */
55   Mword      frequency_cpu;
56   Mword      frequency_bus;
57
58   /* 0xB8 */
59   Mword      _res7[10];
60
61   /* 0xE0 */
62   Mword      user_ptr;
63   Mword      vhw_offset;
64   Unsigned32 _res8[2];
65
66   /* 0xF0 */
67   Unsigned32 __reserved[20];
68 };
69
70 //---------------------------------------------------------------------------
71 IMPLEMENTATION [sparc && debug]:
72
73 IMPLEMENT inline
74 void
75 Kip::debug_print_syscalls() const
76 {}