The Pedigree Project
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
system
include
pedigree
kernel
process
eventNumbers.h
1
/*
2
* Copyright (c) 2008-2014, Pedigree Developers
3
*
4
* Please see the CONTRIB file in the root of the source tree for a full
5
* list of contributors.
6
*
7
* Permission to use, copy, modify, and distribute this software for any
8
* purpose with or without fee is hereby granted, provided that the above
9
* copyright notice and this permission notice appear in all copies.
10
*
11
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
*/
19
20
#ifndef EVENT_NUMBERS_H
21
#define EVENT_NUMBERS_H
22
23
#include "pedigree/kernel/processor/types.h"
24
27
namespace
EventNumbers
28
{
29
const
size_t
PosixSignalStart = 0;
30
// Posix signals in here.
31
const
size_t
PosixSignalEnd = 32;
32
33
const
size_t
TimeoutGuard
= 33;
34
const
size_t
Interrupt = 34;
35
const
size_t
TimedTask = 35;
36
const
size_t
SelectEvent
= 36;
37
38
const
size_t
InputEvent
= 37;
39
const
size_t
TuiEvent = 38;
40
41
const
size_t
PollEvent
= 39;
42
43
const
size_t
TerminalEvent = 40;
44
45
const
size_t
DelayTimer = 41;
46
47
const
size_t
IoEvent
= 42;
48
49
const
size_t
UserStart
= 0xFFFF;
50
}
// namespace EventNumbers
51
52
#endif
PollEvent
Definition:
PollEvent.h:29
EventNumbers::UserStart
const size_t UserStart
Start of user-defined events.
Definition:
eventNumbers.h:49
EventNumbers
Definition:
eventNumbers.h:27
IoEvent
Definition:
IoEvent.h:27
TimeoutGuard
Definition:
TimeoutGuard.h:45
InputEvent
Definition:
InputManager.cc:36
SelectEvent
Definition:
select-syscalls.h:28
Generated on Fri Jan 24 2020 06:46:13 for The Pedigree Project by
1.8.11