Ben Gras
2ab95796b5
Don't install in /sbin - confusing with real tty command
2006-03-29 12:41:11 +00:00
Ben Gras
0524ed35cd
Install tty in /sbin
2006-03-26 16:22:02 +00:00
Ben Gras
dac520e6f2
Compile warnings
2006-03-24 23:02:56 +00:00
Ben Gras
9f6b2666e1
Compiler warnings fix
2006-03-24 14:16:13 +00:00
Ben Gras
471c1e5f00
reply failed to whom?
2006-03-24 12:45:35 +00:00
Ben Gras
e76a222de7
Rename latin-am to latin-america
2006-03-22 13:02:28 +00:00
Ben Gras
9d564995cd
Fix rename
2006-03-20 10:44:43 +00:00
Ben Gras
95ea6383b5
we have longer filenames now so can spell scandinavian in full.
...
: ----------------------------------------------------------------------
2006-03-19 20:53:20 +00:00
Jorrit Herder
376d8485d8
*** empty log message ***
2006-03-10 16:20:24 +00:00
Ben Gras
f877da3aec
endpoint migration for drivers.
...
mostly renaming message field names to the new names.
tty stored process numbers in chars in tty and pty structs - now ints.
2006-03-03 10:21:45 +00:00
Ben Gras
65e7b878d4
getmachine info first, then init tty.
...
Problem report and fix given by:
Prof: Alejandro T. Bello Ruiz <abello@macareo.pucp.edu.pe>
2006-02-17 10:23:16 +00:00
Ben Gras
13e0afef7b
#ifdeffed out some more debug stuff
2006-02-06 15:03:51 +00:00
Ben Gras
dc410a6245
#ifdeffed out some debug code
2006-02-06 15:02:19 +00:00
Ben Gras
06db462da4
Added dvorak keymap.
2006-01-23 09:28:04 +00:00
Philip Homburg
ac7f7f3022
Less debug output from keyboard.
2006-01-12 14:44:02 +00:00
Philip Homburg
a894f5842f
Larger raw keyboard/kbdaux buffer
2005-11-10 15:41:25 +00:00
Philip Homburg
5556281540
Added /dev/video for mapping video memory.
2005-11-09 15:45:48 +00:00
Philip Homburg
0b5a135a67
Raw keyboard and AUX support. Needs cleaning up.
2005-10-24 13:57:19 +00:00
Jorrit Herder
bf3f53be27
Removed check if slot in use for keymapping: otherwise IS may have problems
...
to recover.
2005-10-17 13:19:48 +00:00
Ben Gras
7226f4685f
Get out silly debug message
2005-10-13 08:49:42 +00:00
Jorrit Herder
ee1f2bcb39
Minor fixes for RS. Install signal handlers.
2005-10-12 15:06:00 +00:00
Ben Gras
87dbfc7dda
Added DEV_PING message type to drivers (but not ethernet drivers) so
...
RS can monitor them.
2005-10-12 14:31:39 +00:00
Ben Gras
f463c247b6
Minor number for pty device nodes computed wrongly
2005-10-11 17:04:56 +00:00
Ben Gras
b9defa9abd
select status should return minor device number instead of tty
...
line number
2005-10-04 12:04:00 +00:00
Ben Gras
8c4166ee85
Add SIGWINCH signal and functionality in tty and support in PM.
2005-10-03 12:03:57 +00:00
Philip Homburg
9f8f2484dd
Forward debug output that originates within TTY first to the log device.
2005-09-30 13:01:34 +00:00
Ben Gras
2559cff6dc
Fix by Kenichi TAKAHAGI
2005-09-23 20:59:45 +00:00
Ben Gras
bd85f7015e
typo
2005-09-22 21:18:02 +00:00
Ben Gras
859f2ba189
Remove debug message
2005-09-22 12:08:11 +00:00
Ben Gras
e3709af1b8
Andy's code fixes
2005-09-11 17:09:11 +00:00
Ben Gras
a32fa468f3
Make compiling with 0 pty's or rs232 lines possible (Al's patch)
2005-09-04 18:16:44 +00:00
Ben Gras
ae5f1f2286
ata-pci support for at driver.
...
added a hook in libdriver for HARD_INT messages.
2005-08-25 08:19:11 +00:00
Ben Gras
94ed5c2a4c
Separated one-time keyboard initialization from per-console keyboard
...
initialization. One-time init is called from tty.
Side effect is that the one-time init is done after the sys_getmachine()
call, which makes set_leds() work, which makes numlock go off at booting.
2005-08-24 08:15:23 +00:00
Jorrit Herder
b4d7de6ee1
New makefile (src/tools/Makefile) logic:
...
- make fresh install: still builds new everything (libraries, services, image)
- make clean image: only builds new boot image (about 5 sec. now!)
2005-08-23 12:53:35 +00:00
Ben Gras
e2e90b1fdc
Remove double-blank lines (Al)
2005-08-22 15:17:42 +00:00
Ben Gras
73847b7d50
*** empty log message ***
2005-08-05 16:48:44 +00:00
Jorrit Herder
e396496d8c
Fixed small bug in alarm code.
...
Kernel timer count was not reset after expiry.
2005-08-05 16:46:27 +00:00
Ben Gras
0e3bef8597
pty select() support
2005-08-05 13:50:58 +00:00
Jorrit Herder
74711a3b14
Check if kernel calls is allowed (from process' call mask) added. Not yet
...
enforced. If a call is denied, this will be kprinted. Please report any such
errors, so that I can adjust the mask before returning errors instead of
warnings.
Wrote CMOS driver. All CMOS code from FS has been removed. Currently the
driver only supports get time calls. Set time is left out as an exercise
for the book readers ... startup scripts were updated because the CMOS driver
is needed early on. (IS got same treatment.) Don't forget to run MAKEDEV cmos
in /dev/, otherwise the driver cannot be loaded.
2005-08-04 19:23:03 +00:00
Jorrit Herder
e561081545
Miscellaneous clean ups and fixes to the kernel.
...
Support for FLOPPY in boot image. (Set controller=fd at boot monitor.)
Moved major device numbers to <minix/dmap.h> (maybe rename to dev.h?)
2005-08-04 09:26:36 +00:00
Jorrit Herder
375f6f8754
Miscellaneous cleanups.
2005-08-03 11:53:36 +00:00
Jorrit Herder
52965b6f17
Various updates to support dynamically starting drivers.
...
Output during initialization should be suppressed. Unless an error occurs.
Note that main() can now be main(int argc, char **argv) and arguments can
be passed when bringing up the driver.
2005-08-02 15:30:36 +00:00
Philip Homburg
537d7ddcdf
Replace REVIVE with notify.
2005-08-01 14:40:21 +00:00
Jorrit Herder
1198491af2
*** empty log message ***
2005-07-29 15:33:31 +00:00
Philip Homburg
a93faca75f
rs232 support
2005-07-29 15:22:58 +00:00
Jorrit Herder
aec394a330
Updated drivers according to syslib interface changes.
2005-07-29 15:00:22 +00:00
Jorrit Herder
d62e515660
Small update to SYS_IRQCTL -> setting an interrupt policy now allows the caller
...
to provide an index (0 .. 31) that is passed in the HARD_INT message when an
interrupt occurs. The NOTIFY_ARG field contains a bitmap with all indexes for
which an interrupt occured.
2005-07-29 12:44:42 +00:00
Jorrit Herder
fe0dcb5c00
AT driver is not modified (debugging only);
...
TTY: select and revive with new notify and FS call back;
kernel: removed old notify code; removed ugly prepare_shutdown timer
kputc: don't send to FS if PRINTF_PROC fails
2005-07-27 14:32:16 +00:00
Jorrit Herder
30d95cad82
Removed debug output.
2005-07-26 14:54:49 +00:00
Jorrit Herder
a63d324caa
Small update to shared driver code: SYS_EVENT (signal) is now known.
...
Fixed drivers. HARD_STOP message no longer exists.
2005-07-26 12:50:25 +00:00
Jorrit Herder
d2d975246d
Kernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit.
2005-07-20 15:28:05 +00:00
Jorrit Herder
5594b767c0
Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
2005-07-19 13:21:51 +00:00
Jorrit Herder
8c024e28a1
Changed Makefiles: drivers are now installed in /usr/sbin.
...
TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).
2005-07-19 12:12:48 +00:00
Jorrit Herder
279250889f
Renamed some system library functionality.
2005-07-14 15:15:18 +00:00
Philip Homburg
a467c43c01
use relative directories in makefiles.
2005-06-28 14:56:30 +00:00
Jorrit Herder
5654996c07
New Makefiles for mkdep script.
2005-06-24 16:21:54 +00:00
Jorrit Herder
ec24a0798c
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.
2005-06-20 14:23:31 +00:00
Ben Gras
471e0448c3
Changed timer library function args.
...
Added select() support for tty fd's (not ptys yet).
2005-06-17 13:37:41 +00:00
Jorrit Herder
c2cd510adf
Removed debug dumps from the PM and FS servers. The dumps are now done by the
...
IS servers, which obtains a copy of the data through the getsysinfo() system
call. CTRL-F1 now is a special TTY key to shows function key mappings.
2005-06-07 14:43:35 +00:00
Jorrit Herder
c281867f46
Fixed bug relating to FS and MEMORY during startup;
...
Relocated some syslib functions to utils library;
Changed location of 'Multiuser startup ..." echo in /etc/rc
2005-06-06 09:30:44 +00:00
Jorrit Herder
f2a85e58d9
Various updates.
...
* Removed some variants of the SYS_GETINFO calls from the kernel;
replaced them with new PM and utils libary functionality. Fixed
bugs in utils library that used old get_kenv() variant.
* Implemented a buffer in the kernel to gather random data.
Memory driver periodically checks this for /dev/random.
A better random algorithm can now be implemented in the driver.
Removed SYS_RANDOM; the SYS_GETINFO call is used instead.
* Remove SYS_KMALLOC from the kernel. Memory allocation can now
be done at the process manager with new 'other' library functions.
2005-06-03 13:55:06 +00:00
Jorrit Herder
6d23f072f3
Cleaned up src/lib/utils library. Renamed server_ functions to more logical
...
names. All system processes can now either use panic() or report() from
libutils, or redefine their own function. Assertions are done via the standard
<assert.h> functionality.
2005-06-01 14:31:00 +00:00
Ben Gras
5a43b84e2d
Fix for 'the kermit problem' (keyrepeats happening before the keyrepeat
...
timeout). A fix is to treat the alarm and interrupt cases differently and
only call the interrupt handler when an actual interrupt has been seen. No
apparent adverse effects.
2005-05-31 15:22:06 +00:00
Jorrit Herder
0165662cd9
Replaced flagalrm() timers with another technique to check for timeouts.
...
This allowed removing the p_flagarlm timer from the kernel's process table.
Furthermore, I merged p_syncalrm and p_signalrm into p_alarm_timer to save
even more space. Note that processes can no longer have both a signal and
synchronous alarm timer outstanding as of now.
2005-05-31 14:43:04 +00:00
Ben Gras
cd72f80639
Disabled clearing screen in tty driver, started console printing after an
...
initial 1-line scroll at last line. If clearing screen in trailer of boot
monitor is disabled, all previous boot monitor and console messages are
preserved on rebooting.
All that's needed now is a scrollback buffer to see all old messages..
(Even from the boot monitor, bios, previous boots...)
2005-05-30 15:09:51 +00:00
Jorrit Herder
8d9c0886cd
Created ECHO system call for testing purposes.
...
Furthermore, a quick way to get one's own process number.
2005-05-27 13:57:00 +00:00
Jorrit Herder
c2be104821
Improved NOTIFY system: fixed a minor error, ignore pending notifications
...
on SENDREC system calls. To be done: resource (buffer pool) management;
make it structurally impossible to run out of buffers.
2005-05-27 12:44:14 +00:00
Jorrit Herder
77c3213948
Optimized scheduling code. Old code is still available withing DEAD_CODE
...
and NEW_SCHED_Q definitions. Some minor problems are being traced at the
moment. This commit is meant to backup my files.
--- Jorrit
2005-05-26 13:17:57 +00:00
Jorrit Herder
0899f82ab2
Fixed some minor issues with the NOTIFY call.
2005-05-24 14:35:58 +00:00
Ben Gras
d422461289
Started rs232 porting to userland; increased version number for new cd.
2005-05-13 12:29:10 +00:00
Ben Gras
b480fa7c18
removed dead code bits
2005-05-13 11:45:12 +00:00
Ben Gras
fad180960f
added code to un-register tty's interrupt at exit time; fixed compiler
...
warnings
2005-05-12 16:03:43 +00:00
Ben Gras
96e9faf535
userlandified and enabled PTY's
2005-05-09 14:35:26 +00:00
Jorrit Herder
ac0995259d
*** empty log message ***
2005-05-02 14:30:04 +00:00
Jorrit Herder
89ac678b9b
*** empty log message ***
2005-04-29 15:36:43 +00:00
Ben Gras
9865aeaa79
Initial revision
2005-04-21 14:53:53 +00:00