Commit Graph

1301 Commits

Author SHA1 Message Date
Akyltist
dbe5ae5137 mini refactoring
git-svn-id: svn://kolibrios.org@4797 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-08 08:01:38 +00:00
Akyltist
a1d6f1eae4 fix kernel function 48.2 48.3 (set EDX max size = 192 byte)
git-svn-id: svn://kolibrios.org@4796 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-08 07:40:38 +00:00
Yogev Ezra
df4cadefa8 MTRR: new @notify support
git-svn-id: svn://kolibrios.org@4793 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-07 23:41:38 +00:00
eAndrew
6e448a0873 old cursors
git-svn-id: svn://kolibrios.org@4783 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 12:57:31 +00:00
eAndrew
e43991c023 new cursors
git-svn-id: svn://kolibrios.org@4782 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 12:32:33 +00:00
Akyltist
531b98bc9f skin: hotfix new system color table
git-svn-id: svn://kolibrios.org@4779 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 10:20:38 +00:00
Akyltist
31e84c92d6 skin: supported new system color table
git-svn-id: svn://kolibrios.org@4778 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 10:06:51 +00:00
Marat Zakiyanov (Mario79)
354e32e7f3 Fix for IDE devices:
1) Restore broken HD load for ramdisk image
2) Check of support UDMA mode for disk devices before initialization channel of IDE controller

git-svn-id: svn://kolibrios.org@4772 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-05 21:36:10 +00:00
hidnplayr
fd06243954 set up serial debug console before first print to the debug board (if enabled)
git-svn-id: svn://kolibrios.org@4741 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-03 17:56:55 +00:00
Marat Zakiyanov (Mario79)
76718d400a Fix for r.4700 - fix proc check_ATAPI_device_event
git-svn-id: svn://kolibrios.org@4734 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-02 20:55:06 +00:00
Marat Zakiyanov (Mario79)
87aa62f216 Fix for r.4700
git-svn-id: svn://kolibrios.org@4720 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-30 21:09:44 +00:00
Marat Zakiyanov (Mario79)
035587c456 Empty commit, blyat!
git-svn-id: svn://kolibrios.org@4713 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-28 20:36:41 +00:00
Marat Zakiyanov (Mario79)
be1fff9c56 Fix f.24 for r.4700
git-svn-id: svn://kolibrios.org@4711 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-28 20:04:31 +00:00
Marat Zakiyanov (Mario79)
ba19a6400d Kernel supports up to three IDE controllers, and all the devices connected to them
git-svn-id: svn://kolibrios.org@4700 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-27 20:44:32 +00:00
CleverMouse
5fca5f7cd4 small fix
git-svn-id: svn://kolibrios.org@4695 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-25 14:46:50 +00:00
Yogev Ezra
4291e3d3e1 Make the Grammar-Nazis happy
git-svn-id: svn://kolibrios.org@4694 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-23 23:43:11 +00:00
Marat Zakiyanov (Mario79)
507451f315 Removal of obsolete functions 18.11.2. Reduce the DRIVE_DATA area, because the data above 10 bytes is not used.
git-svn-id: svn://kolibrios.org@4641 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-13 07:21:24 +00:00
Marat Zakiyanov (Mario79)
0991dff6cc Fix for prev.rev.
git-svn-id: svn://kolibrios.org@4625 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-10 00:14:09 +00:00
Marat Zakiyanov (Mario79)
28e8a442bf IDE DMA
1) No more 16-bit code, all the code in 32-bit mode
2) Expansion of the data output about modes of IDE devices

git-svn-id: svn://kolibrios.org@4624 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-10 00:09:59 +00:00
CleverMouse
43101a8623 r4619
git-svn-id: svn://kolibrios.org@4619 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-07 10:57:58 +00:00
Marat Zakiyanov (Mario79)
f6f7a854c7 Fix for r.4588
git-svn-id: svn://kolibrios.org@4612 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-05 15:31:09 +00:00
Marat Zakiyanov (Mario79)
feb4d70501 Do not print the data from the BAR's if IDE controller is not found .
git-svn-id: svn://kolibrios.org@4611 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-04 20:22:14 +00:00
CleverMouse
1a23d648fd add test data
git-svn-id: svn://kolibrios.org@4610 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-04 14:01:49 +00:00
CleverMouse
b1cb69355f reconfigure MTRRs after BIOS, enable write-combining framebuffer in more configurations
git-svn-id: svn://kolibrios.org@4608 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-03-04 13:58:20 +00:00
CleverMouse
8efb57fc9b r4599
git-svn-id: svn://kolibrios.org@4599 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-27 18:31:15 +00:00
CleverMouse
42f5c5294a Fix typing \ | symbols on some specific USB keyboards
git-svn-id: svn://kolibrios.org@4598 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-27 17:22:54 +00:00
CleverMouse
39d0c4cbda test_cpu: simplify & detect physical address width
git-svn-id: svn://kolibrios.org@4593 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-25 19:12:10 +00:00
hidnplayr
dc04bfc89f Absolute mouse coordinates are now calculated inside kernel instead of driver(s).
git-svn-id: svn://kolibrios.org@4592 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-25 18:28:56 +00:00
Marat Zakiyanov (Mario79)
ce96116465 Function 2 (get the code of the pressed key) for AL = 0 in EAX bits 16-23 = contain scancode for pressed key
git-svn-id: svn://kolibrios.org@4588 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-25 01:03:37 +00:00
CleverMouse
85d31dcef6 quick fix for active IDE interrupts at boot stage
git-svn-id: svn://kolibrios.org@4578 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-20 13:01:13 +00:00
Marat Zakiyanov (Mario79)
3dd1f86eac Some reorganization of code:
1) Grouping of code working with IDE drives
2) Moving messages about the SVN revision and CPU counter to the beginning of the log of the message board.

git-svn-id: svn://kolibrios.org@4575 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 23:01:02 +00:00
hidnplayr
5ae0511a52 Fixed stack corruption on SOCKET_num_to_ptr error.
git-svn-id: svn://kolibrios.org@4574 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 19:42:18 +00:00
CleverMouse
f406933a83 actualize documentation
git-svn-id: svn://kolibrios.org@4573 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 18:21:49 +00:00
CleverMouse
74329e061f fix draw of type-I windows with small height
git-svn-id: svn://kolibrios.org@4572 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 17:49:35 +00:00
hidnplayr
7441360013 Serial debug console: reserve port so nobody else uses it.
git-svn-id: svn://kolibrios.org@4553 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-01 14:22:21 +00:00
CleverMouse
437347b036 fix crash if disconnecting when reading/writing introduced in r4346
git-svn-id: svn://kolibrios.org@4549 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-29 21:09:01 +00:00
CleverMouse
241079c114 API to cancel all queued transfers on USB pipe; add timeout for USB device early initialization
git-svn-id: svn://kolibrios.org@4547 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-29 12:14:28 +00:00
hidnplayr
bd53b16a76 Bugfix for SOCKET_alloc.
git-svn-id: svn://kolibrios.org@4535 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-27 10:27:38 +00:00
hidnplayr
633e4d7a5f USBHID: support for pointer type device. Now 'USB tablet' mode also works in QEMU.
git-svn-id: svn://kolibrios.org@4531 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-26 16:44:42 +00:00
hidnplayr
0e1f1afeae Fixed labels in usbhid, no semantic changes.
git-svn-id: svn://kolibrios.org@4530 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-26 14:58:22 +00:00
hidnplayr
40cbd60db3 USBHID: support for USB tablet (absolute coordinates).
git-svn-id: svn://kolibrios.org@4529 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-26 13:38:45 +00:00
hidnplayr
91ae4fdcf8 More bugfixes for SOCKET_notify.
git-svn-id: svn://kolibrios.org@4528 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-25 13:14:23 +00:00
hidnplayr
6e6f7a23d3 Bugfix in SOCKET_notify.
git-svn-id: svn://kolibrios.org@4527 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-25 12:48:59 +00:00
hidnplayr
730070df44 Bugfix in SOCKET_block
git-svn-id: svn://kolibrios.org@4520 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-23 14:37:18 +00:00
hidnplayr
74965458e3 Bugfix for #4510
git-svn-id: svn://kolibrios.org@4511 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-22 15:09:05 +00:00
hidnplayr
006f9694b3 Make network queue spinlock protected instead of mutex-protected or worse: a combination of both..
git-svn-id: svn://kolibrios.org@4510 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-22 14:08:37 +00:00
lev
199e14f164 redraw cursor in 37.5 in any case
git-svn-id: svn://kolibrios.org@4507 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-21 22:21:53 +00:00
Asper
d403519d87 fix codec reset condition. DEV_GET_POS audio driver service.
git-svn-id: svn://kolibrios.org@4496 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-20 15:51:16 +00:00
CleverMouse
01f77003a9 small fix
git-svn-id: svn://kolibrios.org@4465 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-17 10:27:05 +00:00
CleverMouse
8454f182c5 hardware cursors for RDC M2010/M2012
git-svn-id: svn://kolibrios.org@4453 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-14 20:50:19 +00:00
CleverMouse
4d704be765 speedup software blitter for 32bpp modes
git-svn-id: svn://kolibrios.org@4444 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 11:16:28 +00:00
CleverMouse
85b2b4bfbe fix disk_cache.inc by dunkaist
git-svn-id: svn://kolibrios.org@4442 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 11:06:54 +00:00
Sergey Semyonov (Serge)
75ff73eb60 grub4kos: print panic messages
git-svn-id: svn://kolibrios.org@4441 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-13 04:03:22 +00:00
Sergey Semyonov (Serge)
98dad9f109 grub4kos: works fine, at least in VMware and Bochs
git-svn-id: svn://kolibrios.org@4440 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-11 05:22:10 +00:00
CleverMouse
a6e24bafb0 disk cache: new 64-bit multi-sector interface for file systems & prefetching in legacy interface
git-svn-id: svn://kolibrios.org@4437 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 11:56:03 +00:00
hidnplayr
9a1dad1ca1 Disabled socket cleanup after process ends (until deadlock is fixed..)
git-svn-id: svn://kolibrios.org@4436 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 08:07:54 +00:00
Sergey Semyonov (Serge)
3e99300152 kernel: minor optimizations
git-svn-id: svn://kolibrios.org@4424 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-02 19:43:51 +00:00
CleverMouse
88c24f6c96 fix relocations handler in PE drivers
git-svn-id: svn://kolibrios.org@4421 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 12:04:30 +00:00
CleverMouse
d1bc3ec8a0 split /hd and /bd access into separate includes
git-svn-id: svn://kolibrios.org@4420 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:42:20 +00:00
CleverMouse
daba8a5f6a add new files
git-svn-id: svn://kolibrios.org@4419 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:20:25 +00:00
CleverMouse
a10422fbce separate USB host controller code into external drivers
git-svn-id: svn://kolibrios.org@4418 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-30 11:18:33 +00:00
CleverMouse
0fb3c4300c KernelAlloc/KernelFree are called from IRQ handlers in network drivers, so make them spinlock-protected instead of mutex-protected
git-svn-id: svn://kolibrios.org@4391 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-20 17:38:01 +00:00
CleverMouse
3a9d9f866f set type of memory range detected without BIOS, fix r2466
git-svn-id: svn://kolibrios.org@4390 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-20 13:13:43 +00:00
hidnplayr
c42c7651f7 Disabled verbose network debug output.
git-svn-id: svn://kolibrios.org@4388 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 21:39:14 +00:00
hidnplayr
5e80cb25b3 Fixed typo in tcp_input.inc
git-svn-id: svn://kolibrios.org@4387 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 21:31:51 +00:00
hidnplayr
d38c7a0ff0 Bugfix for sysfn 18,19,4 (set mouse pos)
git-svn-id: svn://kolibrios.org@4381 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-19 13:21:35 +00:00
hidnplayr
e2ec33712e TCP: correctly close connection.
git-svn-id: svn://kolibrios.org@4366 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 21:27:22 +00:00
hidnplayr
fe46d27eaf Bugfix in SOCKET_close for TCP
git-svn-id: svn://kolibrios.org@4365 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-15 18:30:19 +00:00
hidnplayr
bf755d6cbd TCP: advertise correct window, small updates and bugfixes
git-svn-id: svn://kolibrios.org@4347 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-13 12:20:53 +00:00
CleverMouse
df6a761ad4 coalesce transfers in same direction
git-svn-id: svn://kolibrios.org@4346 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-12 16:03:06 +00:00
hidnplayr
5e7711d4f6 Bugfix in PAWS algorithm for TCP.
git-svn-id: svn://kolibrios.org@4344 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-12 11:32:03 +00:00
hidnplayr
d148603f7d Bugfixes in TCP.
git-svn-id: svn://kolibrios.org@4339 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-10 21:08:29 +00:00
hidnplayr
6680b2725e Fixed typo in ICMP. (Wrong stats were updated)
git-svn-id: svn://kolibrios.org@4335 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-12-08 14:37:39 +00:00
Marat Zakiyanov (Mario79)
2e14ef3302 A patch for f.64 - now you can not ask for more memory than available of free memory.
git-svn-id: svn://kolibrios.org@4313 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-29 18:31:49 +00:00
Marat Zakiyanov (Mario79)
4dd686d6d5 Additional fix to r.4307
git-svn-id: svn://kolibrios.org@4311 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 19:55:40 +00:00
Yogev Ezra
04857bed22 Vortex86: use correct names for constants. Show STRAP & Internal Peripheral Feature Control registers values.
git-svn-id: svn://kolibrios.org@4310 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 19:19:25 +00:00
Marat Zakiyanov (Mario79)
c4ddb68d5f IDE DMA - remove the interrupt request after disabling IDE interrupts.
git-svn-id: svn://kolibrios.org@4307 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-28 07:09:37 +00:00
CleverMouse
16f7bbae41 fix r4302
git-svn-id: svn://kolibrios.org@4305 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 17:14:28 +00:00
Marat Zakiyanov (Mario79)
e840cc28ad Removing the temporary fix code for IDE DMA.
git-svn-id: svn://kolibrios.org@4303 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 15:29:07 +00:00
CleverMouse
10242c9784 sanity check: avoid infinitely nested hubs
git-svn-id: svn://kolibrios.org@4302 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 14:47:05 +00:00
CleverMouse
a0fd67cc25 ignore fake connect events immediately after reset on eBox
git-svn-id: svn://kolibrios.org@4300 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-27 11:06:59 +00:00
Yogev Ezra
9328c78a90 Move Vortex86 SoC handling before usb_init and CPU speed detection, since otherwise the CPU speed is not detected correctly.
git-svn-id: svn://kolibrios.org@4297 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 19:35:00 +00:00
hidnplayr
5842e9f374 TCP_input: dont use conditional move instruction. (not available on some machines)
git-svn-id: svn://kolibrios.org@4296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 17:00:13 +00:00
Yogev Ezra
61b406acf2 Vortex86: Added CPU speed modifier detection and MMX support flags detection
git-svn-id: svn://kolibrios.org@4294 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-26 16:42:56 +00:00
Marat Zakiyanov (Mario79)
12ea7f0fda IDE DMA fix (SATA Native mode).
git-svn-id: svn://kolibrios.org@4291 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-25 20:00:10 +00:00
Yogev Ezra
3951e5fd59 Code optimization (by size)
git-svn-id: svn://kolibrios.org@4289 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-25 01:15:59 +00:00
Sergey Semyonov (Serge)
8a90112e87 kernel.set_screen: allways do force resetting
git-svn-id: svn://kolibrios.org@4286 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-24 07:01:31 +00:00
CleverMouse
edbd5b909f fix kernel crash at shutdown in r4273
git-svn-id: svn://kolibrios.org@4278 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-22 13:08:43 +00:00
CleverMouse
fd7d607044 /rd is now PnP, so move PnP disks to the beginning of / listing
git-svn-id: svn://kolibrios.org@4277 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-22 11:31:36 +00:00
CleverMouse
1842871f8f support for PnP disks, part 5: FAT12, ramdisk, floppies
git-svn-id: svn://kolibrios.org@4273 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 16:07:16 +00:00
Yogev Ezra
42203528ce Perform Vortex86 detection only if CPU vendor is 'Vortex86 SoC'
git-svn-id: svn://kolibrios.org@4272 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 15:12:39 +00:00
0CodErr
7450ef6270 update documentation SysFn9
git-svn-id: svn://kolibrios.org@4264 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 21:19:36 +00:00
0CodErr
4f0860e3e7 SysFn9 keyboard mode
git-svn-id: svn://kolibrios.org@4262 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 21:11:15 +00:00
Yogev Ezra
80a7695eb3 Add Vortex86 detection code.
git-svn-id: svn://kolibrios.org@4261 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-20 20:05:06 +00:00
hidnplayr
2465fafb4e Bugfix in IPv4_input (for fragmented IPv4 packets)
git-svn-id: svn://kolibrios.org@4259 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-19 21:01:57 +00:00
hidnplayr
f9853cf87d Bugfix in IPv4_input (for fragmented IPv4 packets)
git-svn-id: svn://kolibrios.org@4258 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-19 20:40:18 +00:00
hidnplayr
29db36de54 Do not print message about unknown ethernet packet types, by default.
git-svn-id: svn://kolibrios.org@4256 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-19 18:58:46 +00:00
Sergey Semyonov (Serge)
145adf316e kernel.load_file_umode: allocate physical storage before unpacking
git-svn-id: svn://kolibrios.org@4237 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-16 08:41:01 +00:00
CleverMouse
79585a5d9b fix polling of some USB hubs
git-svn-id: svn://kolibrios.org@4227 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-14 10:16:38 +00:00
hidnplayr
c6d3f29329 SOCKET_receive: bugfixes, return 0 when remote end closed connection.
git-svn-id: svn://kolibrios.org@4219 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-12 20:05:57 +00:00