David van Moolenbroek ec2359d566 TTY: allow selecting on translated minors
Due to the existence of /dev/console and /dev/log, and the new
"console=" setting, it is now possible that a single non-PTY object
(e.g. serial) is accessible through two different minor numbers.  This
poses a problem when sending late select replies (CDEV_SEL2_REPLY),
because the object's minor number can not be used to identify the
device.  Since selecting on such objects through translated minor
numbers is actually required, we now save the minor number used to
initiate the select query in order to send a late reply.

The solution is suboptimal, as it is not possible to use two different
minors to select on the same object at once.  In the future, there
should be at least one select record for each minor that can be used
with each object.

Change-Id: I4d39681d2ffd68b4047daf933d45b7bafe3c885e
2014-03-01 09:04:55 +01:00
2014-02-18 11:25:02 +01:00
2014-03-01 09:04:55 +01:00
2013-08-20 11:37:40 +02:00
2014-03-01 09:04:55 +01:00
2014-03-01 09:04:55 +01:00
2013-08-21 13:53:39 +02:00
2014-03-01 09:04:55 +01:00
2014-03-01 09:04:55 +01:00
2014-02-18 11:25:02 +01:00
2014-02-18 11:25:01 +01:00
2014-03-01 09:04:55 +01:00
2014-03-01 09:04:54 +01:00
2013-11-12 10:15:47 -05:00
2014-03-01 09:04:55 +01:00
2014-03-01 09:04:54 +01:00
Description
A fun microkernel meant to match modern usecases
GPL-3.0 148 MiB
Languages
C 78.2%
Roff 10.2%
Assembly 4.6%
Shell 3.7%
Makefile 1.6%
Other 1.2%