OpenGrok
Cross Reference: ttycons.c
xref
: /
src
/
sys
/
arch
/
usermode
/
dev
/
ttycons.c
Home
|
History
|
Annotate
|
Download
|
only in
dev
History log of
/src/sys/arch/usermode/dev/ttycons.c
Revision
Date
Author
Comments
1.20
25-Jul-2014
dholland
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
1.19
03-Mar-2012
reinoud
branches: 1.19.2; 1.19.12;
Implement signal forwarding to userland for usermode kernels. Especially
SIGFPE is important since the urkel shouldn't stop when a userland program
devides by zero!
1.18
21-Jan-2012
reinoud
branches: 1.18.2;
Complete rewrite of the signal and spl framework for NetBSD/usermode
Signals are now moved from the sigaltstack ASAP and stacked on a replacement
stack for each processes.
Preemption now works though could be enhanced a bit more
1.17
27-Dec-2011
jmcneill
support ^Z
1.16
26-Dec-2011
jmcneill
add sigio_intr_establish so more than one driver can register a SIGIO handler
1.15
21-Dec-2011
jmcneill
move the (now 1024 byte) printing buffer off the stack
1.14
21-Dec-2011
reinoud
Increase printing buffer of ttycons from 80 to 1024 significantly increasing
console output on large dumps.
1.13
20-Dec-2011
jmcneill
check return value of write, make sure we send the whole buffer to stdout
1.12
15-Dec-2011
jmcneill
use write instead of putchar putchar putchar putchar putchar ... for console output
1.11
12-Dec-2011
jmcneill
install a SIGINT handler and use it to emulate ^C
1.10
12-Dec-2011
jmcneill
make sure to set O_ASYNC on stdin to enable ttycons "interrupts"
1.9
12-Dec-2011
jmcneill
use spl_intr from signal handler instead of calling softint_schedule directly
1.8
11-Dec-2011
jmcneill
make ttycons a proper tty device, now it can be the console
1.7
11-Dec-2011
jmcneill
make sure to set cn_dev and cn_pri in our consdev struct
1.6
09-Dec-2011
reinoud
Remove empty lines in ttycons_consinit
1.5
28-Aug-2011
jmcneill
branches: 1.5.2; 1.5.6;
turn off input echo and buffering
1.4
12-Aug-2011
jmcneill
Clean up extern mess by adding an API for kernel components to call libc
functions. thunk.c is built with special cflags that makes it compile
against standard system headers instead of kernel ones.
1.3
27-Nov-2009
rmind
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
1.2
21-Oct-2009
snj
Drop 3rd and 4th clauses. OK jmcneill (copyright holder).
1.1
29-Dec-2007
jmcneill
branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.18;
Import work-in-progress NetBSD/usermode port.
1.1.18.1
11-Mar-2010
yamt
sync with head
1.1.8.2
18-Feb-2008
mjf
Sync with HEAD.
1.1.8.1
29-Dec-2007
mjf
file ttycons.c was added on branch mjf-devfs on 2008-02-18 21:05:12 +0000
1.1.6.2
21-Jan-2008
yamt
sync with head
1.1.6.1
29-Dec-2007
yamt
file ttycons.c was added on branch yamt-lazymbuf on 2008-01-21 09:39:45 +0000
1.1.4.2
09-Jan-2008
matt
sync with HEAD
1.1.4.1
29-Dec-2007
matt
file ttycons.c was added on branch matt-armv6 on 2008-01-09 01:49:20 +0000
1.1.2.2
02-Jan-2008
bouyer
Sync with HEAD
1.1.2.1
29-Dec-2007
bouyer
file ttycons.c was added on branch bouyer-xeni386 on 2008-01-02 21:50:44 +0000
1.5.6.4
06-Mar-2012
mrg
sync to -current
1.5.6.3
06-Mar-2012
mrg
sync to -current
1.5.6.2
04-Mar-2012
mrg
sync to latest -current.
1.5.6.1
18-Feb-2012
mrg
merge to -current.
1.5.2.1
17-Apr-2012
yamt
sync with head
1.18.2.1
07-Mar-2012
riz
Pull up following revision(s) (requested by reinoud in ticket #89):
sys/arch/usermode/usermode/thunk.c: revision 1.81
sys/arch/usermode/target/i386/cpu_i386.c: revision 1.4
sys/arch/usermode/include/thunk.h: revision 1.61
sys/arch/usermode/include/intr.h: revision 1.9
sys/arch/usermode/dev/cpu.c: revision 1.70
sys/arch/usermode/dev/ttycons.c: revision 1.19
sys/arch/usermode/usermode/trap.c: revision 1.64
Implement signal forwarding to userland for usermode kernels. Especially
SIGFPE is important since the urkel shouldn't stop when a userland program
devides by zero!
1.19.12.1
10-Aug-2014
tls
Rebase.
1.19.2.1
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
Indexes created Thu Oct 02 14:10:14 GMT 2025