Updated function key mapping because of possible changes to NOTIFY.

The TTY driver now only notifies the IS server about function key event,
but does not tell which keys are pressed. The IS servers queries the TTY
driver to find out about this.
This commit is contained in:
Jorrit Herder
2005-06-20 14:23:31 +00:00
parent c0f83b4033
commit ec24a0798c
13 changed files with 145 additions and 145 deletions

View File

@@ -12,15 +12,6 @@
#define SENDREC 3 /* function code for SEND + RECEIVE */
#define NOTIFY 4 /* function code for notifications */
#if 0
/* Bit map operations to manipulate bits of a simple mask variable. */
#define set_bit(mask, n) ((mask) |= (1 << (n)))
#define clear_bit(mask, n) ((mask) &= ~(1 << (n)))
#define isset_bit(mask, n) ((mask) & (1 << (n)))
#define empty_mask (0)
#define filled_mask (~0)
#endif
/* Call masks indicating which system calls a process can make. */
#define EMPTY_CALL_MASK (0)
#define USER_CALL_MASK (1 << SENDREC)

View File

@@ -54,11 +54,7 @@ _PROTOTYPE( int do_setalarm, (message *m_ptr) );
#define do_signalrm do_setalarm
#define do_syncalrm do_setalarm
#if ENABLE_K_TRACING
_PROTOTYPE( int do_trace, (message *m_ptr) ); /* process tracing */
#else
#define do_trace do_unused
#endif
#endif /* SYSTEM_H */

View File

@@ -12,7 +12,6 @@
#include "../system.h"
#include <sys/ptrace.h>
#if ENABLE_K_TRACING /* only include code if tracing is enabled */
/*==========================================================================*
* do_trace *
@@ -139,4 +138,3 @@ register message *m_ptr;
return(OK);
}
#endif /* ENABLE_K_TRACING */