Last change
on this file since 564 was
466,
checked in by alain, 10 years ago
|
1) Introducing a hierarchical, distributed lock, implemented as a
Sliced Binary Tree (sbt_lock_t) in the locks.c and locks.h files.
2) Introducing a kernel level distributed, remote_malloc() service,
In the kernel_malloc.c and kernel_malloc.h files.
This service requires one heap[x][y] global vseg per cluster.
This service is used by the distributed lock.
|
-
Property svn:executable set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | /////////////////////////////////////////////////////////////////////////////////// |
---|
2 | // File : tty0.h |
---|
3 | // Date : 02/12/2014 |
---|
4 | // Author : alain greiner |
---|
5 | // Copyright (c) UPMC-LIP6 |
---|
6 | /////////////////////////////////////////////////////////////////////////////////// |
---|
7 | // The tty0.c and tty0.h files are part of the GIET-VM nano-kernel. |
---|
8 | // They define the functions that can be used by both the boot code |
---|
9 | // and the kernel code to access the TTY0 kernel terminal. |
---|
10 | /////////////////////////////////////////////////////////////////////////////////// |
---|
11 | |
---|
12 | #ifndef GIET_TTY0_H |
---|
13 | #define GIET_TTY0_H |
---|
14 | |
---|
15 | /////////////////////////////////////////////////////////////////////////////////// |
---|
16 | // Access functions to kernel terminal TTY0 |
---|
17 | /////////////////////////////////////////////////////////////////////////////////// |
---|
18 | |
---|
19 | extern void _puts( char* string ); |
---|
20 | |
---|
21 | extern void _putx( unsigned int val ); |
---|
22 | |
---|
23 | extern void _putl( unsigned long long val ); |
---|
24 | |
---|
25 | extern void _putd( unsigned int val ); |
---|
26 | |
---|
27 | extern void _getc( char* byte ); |
---|
28 | |
---|
29 | extern void _nolock_printf( char* format, ... ); |
---|
30 | |
---|
31 | extern void _printf( char* format, ... ); |
---|
32 | |
---|
33 | #endif |
---|
34 | |
---|
35 | // Local Variables: |
---|
36 | // tab-width: 4 |
---|
37 | // c-basic-offset: 4 |
---|
38 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
39 | // indent-tabs-mode: nil |
---|
40 | // End: |
---|
41 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
42 | |
---|
Note: See
TracBrowser
for help on using the repository browser.