Ben Gras
95ff97d4fb
readclock easily runs out of stack with so little of it.
2009-02-06 16:28:35 +00:00
Ben Gras
bb18be5d06
simplified the code a little, corrected some hasty statements.
2009-02-04 17:30:01 +00:00
Ben Gras
6a0e8e3b80
Added a separate keymap for escaped scancodes. This makes the code
...
a little cleaner (escaped scancodes are less of a special case) and
lets us be completely flexible when assigning meaning to them.
Future: a tool and ioctl to load the escaped keymap.
2009-02-04 17:04:16 +00:00
Ben Gras
ba4687e519
the escaped keymap is usually the same as the original.
2009-02-04 16:55:30 +00:00
Ben Gras
80f5eea8b8
If serial debugging in the boot monitor / kernel is enabled, don't touch
...
the serial line in use for it (mostly so that input isn't eaten by tty).
2009-01-29 15:06:40 +00:00
Ben Gras
d0a2e6b2f4
use library panic, doesn't need its own any more.
2009-01-29 14:41:44 +00:00
Ben Gras
3cc092ff06
. new kernel call sysctl for generic unprivileged system operations;
...
now used for printing diagnostic messages through the kernel message
buffer. this lets processes print diagnostics without sending messages
to tty and log directly, simplifying the message protocol a lot and
reducing difficulties with deadlocks and other situations in which
diagnostics are blackholed (e.g. grants don't work). this makes
DIAGNOSTICS(_S), ASYN_DIAGNOSTICS and DIAG_REPL obsolete, although tty
and log still accept the codes for 'old' binaries. This also simplifies
diagnostics in several servers and drivers - only tty needs its own
kputc() now.
. simplifications in vfs, and some effort to get the vnode references
right (consistent) even during shutdown. m_mounted_on is now NULL
for root filesystems (!) (the original and new root), a less awkward
special case than 'm_mounted_on == m_root_node'. root now has exactly
one reference, to root, if no files are open, just like all other
filesystems. m_driver_e is unused.
2009-01-26 17:43:59 +00:00
Ben Gras
36909196cf
make bootinfo valid immediately
2009-01-14 08:56:20 +00:00
Ben Gras
ad87da99d3
bigger ramdisk for bigger binaries
2009-01-09 17:47:18 +00:00
Ben Gras
0579810535
don't ignore the fact that scancodes are escaped.
...
if not understood explicitly, print diagnostic and
ignore scancode.
2008-12-21 03:53:25 +00:00
Ben Gras
2528a06954
bugfix for lance. works in vmware now.
2008-12-17 01:20:15 +00:00
Ben Gras
ef812af5a6
use VM functions to allocate ramdisk on demand. some unification in code.
2008-12-11 17:33:13 +00:00
Ben Gras
1d8aed840c
. no more HZ, but use sys_hz() to get that value
...
. memory maps in physical memory (for /dev/mem) with new vm interface
. pci complete_bars() seems to be buggy behaviour sometimes
. startup script opens its own stdout, stderr and stdin so init doesn't
have to do it
2008-12-11 14:42:23 +00:00
Ben Gras
567f2f0ba0
umap fix
2008-12-08 17:06:38 +00:00
Ben Gras
f4d0d635fd
- hz dynamic
...
- new map /dev/video implementation
- ser_putc into library
2008-12-08 16:40:29 +00:00
Ben Gras
fe56202038
floppy must be able to allocate a bit more for nonpaged mode.
2008-11-19 17:31:42 +00:00
Ben Gras
c078ec0331
Basic VM and other minor improvements.
...
Not complete, probably not fully debugged or optimized.
2008-11-19 12:26:10 +00:00
Philip Homburg
60c1131b94
SYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP
2008-02-25 14:39:19 +00:00
Philip Homburg
9d41dbc55e
Build libdriver_asyn for target image
2008-02-25 14:38:09 +00:00
Philip Homburg
9d176133ee
Added libdriver_asyn and amddev
2008-02-25 12:07:48 +00:00
Philip Homburg
4474166403
Driver for AMD's DEV.
2008-02-25 12:07:19 +00:00
Philip Homburg
a51dbad054
Asynchrnous character device interface.
2008-02-25 11:54:04 +00:00
Philip Homburg
65df875abb
Need separate 'prev_next' pointers for kernel and TTY.
2008-02-25 11:53:37 +00:00
Philip Homburg
830b79f0d5
Link random number genertor with libdriver_asyn
2008-02-25 10:25:43 +00:00
Philip Homburg
bc125e3e1c
Copy of libdriver for asynch interface to character drivers. Has to be cleaned
...
up.
2008-02-25 10:24:46 +00:00
Philip Homburg
404325b193
Support for I/O MMU.
2008-02-25 10:19:29 +00:00
Philip Homburg
668515afe2
More heap for fxp, support for I/O MMU.
2008-02-25 10:12:09 +00:00
Philip Homburg
54f714e59e
Respond to RS ping request, asynch interface, register with I/O MMU.
2008-02-25 10:02:24 +00:00
Philip Homburg
00ef93d6a2
Use nonblocking sends to reply, fixed reply message for DIAGNOSTICS(_S)
2008-02-22 16:03:00 +00:00
Philip Homburg
e3d4c74393
Functions that check arguments and return a status code and functions that
...
don't.
2008-02-22 15:59:12 +00:00
Philip Homburg
fecd153c2c
Declare and call functions that check arguments and return a status code.
2008-02-22 15:56:12 +00:00
Philip Homburg
8a07b7687a
Use nonblocking send to reply.
2008-02-22 15:52:13 +00:00
Philip Homburg
19db2b646e
Removed superfluous argument.
2008-02-21 16:09:58 +00:00
Ben Gras
2c45324c47
keymap contributed by Roman Ignatov.
2008-02-06 15:16:50 +00:00
Ben Gras
cd89066f9a
Trust $PATH.
2007-12-19 10:51:21 +00:00
Ben Gras
b250847120
Makefile for audio drivers.
2007-12-19 10:37:29 +00:00
Ben Gras
8e727c97ce
always re-enable irq, so devices sharing this irq don't go deaf
...
as IRQ_REENABLE isn't specified.
2007-12-14 12:44:20 +00:00
Ben Gras
45744bff41
Connect new audio drivers to build.
2007-11-23 11:53:33 +00:00
Ben Gras
b79b305ba1
More es1371 bij Pieter Hijma.
2007-11-23 11:52:34 +00:00
Ben Gras
c67a56708e
es1370 driver and updated es1371 and framework by Pieter Hijma.
2007-11-23 11:40:33 +00:00
Ben Gras
0d2d8c6db2
audio drivers. (not updated for trunk.)
...
sb16: port of isa sb16 driver to user-space. Port by Peter Boonstoppel.
es1371: By Laurens Bronwasser.
2007-11-23 11:30:50 +00:00
Ben Gras
0ae1ff99b8
Fix for DL_STAT_REPLY/DL_TASK_REPLY
...
Bug found and fixed by Jens de Smit <jfdsmit at few.vu.nl>.
2007-10-17 10:53:47 +00:00
Ben Gras
23f6e478df
Fixed a glitch introduced in safe i/o conversion.
2007-10-17 10:50:18 +00:00
Ben Gras
af591d2151
Internally, floppy driver still used vircopies ('unsafe' copies), but
...
this isn't allowed in its drivers.conf entry. Changed these to memcpy()
calls. Bug reported by Maurizio Lombardi in comp.os.minix.
2007-10-16 14:31:35 +00:00
Ben Gras
ff9f4dd59c
fix for i/o data/addr pair set macro's.
2007-09-11 11:22:29 +00:00
Philip Homburg
1d4afb3599
Compile-time option to duplicate console output to the first serial line
2007-08-07 11:27:03 +00:00
Philip Homburg
acfaea0fa2
More space on ramdisk
2007-08-07 11:22:35 +00:00
Philip Homburg
f352a3fb15
Print the value of a capability as well.
2007-08-07 11:21:57 +00:00
Ben Gras
a80365f407
. add checks to printer driver kernel calls
...
. correct some i/o locations for printer in drivers.conf
2007-08-06 11:17:08 +00:00
Ben Gras
03446f5554
micro_delay in sysutil, used in ti1225, dp8390, fxp and
...
orinoco now. Uses a combination of tickdelay (where possible) and
calibrated busywait (where necessary).
2007-07-31 15:01:49 +00:00