Commit Graph

2415 Commits

Author SHA1 Message Date
Doczom
4f072de650 update
git-svn-id: svn://kolibrios.org@9224 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 17:11:57 +00:00
Doczom
4f59e32470 fix bug in my fix bug
git-svn-id: svn://kolibrios.org@9223 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 16:05:08 +00:00
Doczom
bb36197cd2 fix bug http://bugs.kolibrios.org/view.php?id=145 in sf 4
git-svn-id: svn://kolibrios.org@9222 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-23 15:53:35 +00:00
83176ac8ef kernel: Fix window redraw after 1px move.
If
 - window A is above window B, and
 - window A has been moved,
then window B receives a redraw event.

But if that move was 1px right or down, window B didn't receive an event
because of off-by-one error. Now it's fixed.

git-svn-id: svn://kolibrios.org@9221 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-18 16:23:18 +00:00
496d1b957e ahci: name drives as sdX instead of hdX
git-svn-id: svn://kolibrios.org@9219 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-16 22:13:26 +00:00
turbocat
93b5078632 Removed useless kolibri-f branch
git-svn-id: svn://kolibrios.org@9192 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-14 17:42:01 +00:00
turbocat
bdef8f9596 Created a branch for low-level work with disks
git-svn-id: svn://kolibrios.org@9191 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-14 17:39:32 +00:00
cf3af4b4ed kernel: fix export of file_system_lfn_protected.
This function returns values not in registers but in their images on
stack. Therefore we have to wrap a call with pushad/popad.

git-svn-id: svn://kolibrios.org@9185 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 22:37:00 +00:00
79377393da kolibri-ahci: code style fixes
git-svn-id: svn://kolibrios.org@9184 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 12:05:09 +00:00
954246b1b7 Merge kolibri-ahci into trunk
git-svn-id: svn://kolibrios.org@9183 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 11:38:38 +00:00
a17d3b7653 kolibri-ahci:
- fix bug with identical names for all disks

git-svn-id: svn://kolibrios.org@9168 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-30 10:59:18 +00:00
f270456bab kolibri-ahci:
- added write, seems to work

git-svn-id: svn://kolibrios.org@9166 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-29 19:20:12 +00:00
617b2bf8c3 kolibri-ahci:
- fix bugs with prdt overflow
- full refactoring of disk reading
- added fdo verbosity control
- other changes

git-svn-id: svn://kolibrios.org@9162 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-28 14:17:15 +00:00
hidnplayr
389c2bc6c3 Fix typo
git-svn-id: svn://kolibrios.org@9151 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-24 16:48:03 +00:00
eb103eed40 kolibri-ahci:
- fixed two stupid errors, now work in qemu

git-svn-id: svn://kolibrios.org@9145 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-20 07:13:00 +00:00
7126f01a79 kolibri-ahci:
- added ahci_read

git-svn-id: svn://kolibrios.org@9143 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 19:36:23 +00:00
b89963de95 kolibri-ahci:
- important register preseving

git-svn-id: svn://kolibrios.org@9142 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:33:40 +00:00
6a6dcc90ae kolibri-ahci:
- added ahci_read_first_sector and it works
- temporariry removed ahci_read
- small changes

git-svn-id: svn://kolibrios.org@9141 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-19 10:10:28 +00:00
8dfac86e67 kolibri-ahci:
- added disk registration in system
- added ahci_read (DOES NOT WORK, TODO), ahci_querymedia
- other changes

git-svn-id: svn://kolibrios.org@9140 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 21:55:32 +00:00
b436ed9f25 kolibri-ahci:
- use spinlocks (added two functions) instead of delays in ahci_port_identify
- small changes

git-svn-id: svn://kolibrios.org@9139 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-18 11:09:40 +00:00
7bedba2c53 kolibri-ahci:
- refactoring: use swap_bytes_in_words for strings in ident space
- added viewing lba48 addresable sectors count, disk capacity in MiB and GiB
- other small changes

git-svn-id: svn://kolibrios.org@9138 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-16 17:36:12 +00:00
48a6c045c4 kolibri-ahci:
- fix build

git-svn-id: svn://kolibrios.org@9136 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 14:04:25 +00:00
b8a5378080 kolibri-ahci:
- optimized signature checking

git-svn-id: svn://kolibrios.org@9135 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-14 13:59:08 +00:00
a85d76349a kolibri-ahci:
- added drive type detection
- identify now works both for SATA and SATAPI
- small fixes

git-svn-id: svn://kolibrios.org@9134 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-13 21:41:56 +00:00
324586c098 kolibri-ahci:
- fixed identify command sending, now driver successfully identifies hard disk model on my acer aspire
- small changes

git-svn-id: svn://kolibrios.org@9131 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-10 12:24:33 +00:00
16ff205237 kolibri-ahci:
- fixed issue with staggered spin-up, so now works better on real hardware
- more verbose debug output
- other small changes
TODO: improve reading identification space
why identification space is all zeroes on my acer aspire ?

git-svn-id: svn://kolibrios.org@9130 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-09 19:32:15 +00:00
39368a57b4 kolibri-ahci:
- added ahci_port_identify (it works!)
- other fixes
- todo: fix dirty codestyle)

git-svn-id: svn://kolibrios.org@9074 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 23:00:47 +00:00
f195324958 kolibri-ahci:
- make some padding and reserved field anonymous
- correct mistake in FIS_DMA_SETUP, some fileds were absent
- small fixes

git-svn-id: svn://kolibrios.org@9072 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-21 15:33:47 +00:00
774aee343f kolibri-ahci:
- added more structures
- added function ahci_find_cmdslot
- small fixes

git-svn-id: svn://kolibrios.org@9069 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-20 16:25:00 +00:00
9ea50cc779 kolibri-ahci:
- add ahci_send_cmd
- add ahci_flush_cmd
- add ahci_port_rebase
- other small changes

git-svn-id: svn://kolibrios.org@9068 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-16 16:39:49 +00:00
760c9f36c4 kolibri-ahci:
- add functions start_cmd and stop_cmd
- small changes

git-svn-id: svn://kolibrios.org@9065 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 20:20:23 +00:00
a8fd8dac68 kolibri-ahci:
- added FIS structures
- shorten some names in HBA_MEM structure

git-svn-id: svn://kolibrios.org@9064 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 17:09:18 +00:00
Kirill Lipatov (Leency)
4f8b740144 sysfuncr.txt: translate 74.11 - 74.16
osupdate: add to ISO
icons16.png: update icons of windows, kolibri, floppy
cedit: update by akron1

git-svn-id: svn://kolibrios.org@9060 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-13 10:30:43 +00:00
turbocat
9b2048f146 kernel (trunk) :
- Added the function of working with the file system in the export for the driver.
  (However, feature 70 vulnerability should not be fixed until the drivers using it are rebuilt).

git-svn-id: svn://kolibrios.org@9055 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 22:34:27 +00:00
hidnplayr
ae22a16a43 Fix loopback
git-svn-id: svn://kolibrios.org@9054 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 20:39:08 +00:00
Kirill Lipatov (Leency)
716db38e51 docs: update sys f48.3 description about color names and meanings
git-svn-id: svn://kolibrios.org@9052 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 09:45:12 +00:00
turbocat
3ee8369ec6 Kolibri-F:
- Added sprintf to the kernel.
- Added a notification from @notify when there are exceptions in the application. 
- Added debug files to bochs

git-svn-id: svn://kolibrios.org@9051 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-11 11:17:39 +00:00
hidnplayr
7b13d5fb4e Add is_userspace_region checks to some socket functions.
Disabled PPPoE and IPv6 completely by default, as not functional.


git-svn-id: svn://kolibrios.org@9049 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-10 09:41:13 +00:00
Magomed Kostoev (mkostoevr)
eccd8f2198 [CLEVERMOUSE_PE_KERNEL] Apply CleverMouse PE patch
git-svn-id: svn://kolibrios.org@9048 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 19:26:55 +00:00
Magomed Kostoev (mkostoevr)
360e379fc7 [KERNEL] Get ready to apply CleverMouse PE patch
git-svn-id: svn://kolibrios.org@9047 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 19:19:04 +00:00
b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
6beb99fc30 kernel: Implement sf70.5 for default FS stub
Only get partition size, not its label.

Information of a block device and FS on it should be reported by
different system calls.

git-svn-id: svn://kolibrios.org@9043 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 03:20:12 +00:00
Magomed Kostoev (mkostoevr)
293a74db28 [KERNEL][TASKMAN] Add prefixes to named constants
git-svn-id: svn://kolibrios.org@9038 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 20:04:59 +00:00
ffb87dab38 kolibri-ahci:
- started implementing drives detect
- other fixes

git-svn-id: svn://kolibrios.org@9037 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:20:11 +00:00
Magomed Kostoev (mkostoevr)
c81b16b529 [KERNEL][TASKMAN] Use named constants instead of magic numbers
git-svn-id: svn://kolibrios.org@9036 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 19:16:00 +00:00
Magomed Kostoev (mkostoevr)
436e509ba2 [kernel][dll] Doxycomment load_file function
git-svn-id: svn://kolibrios.org@9034 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:39:49 +00:00
Magomed Kostoev (mkostoevr)
51562c329d [asmxygen] Dump into file instead of stdout
git-svn-id: svn://kolibrios.org@9033 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:33:06 +00:00
Magomed Kostoev (mkostoevr)
43ca471eaa [KERNEL][TASKMAN] Document fs_execute function return value
git-svn-id: svn://kolibrios.org@9032 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 18:08:28 +00:00
Magomed Kostoev (mkostoevr)
d68f8ecdce [KERNEL][TASKMAN] Comment fs_execute function
git-svn-id: svn://kolibrios.org@9031 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:55:19 +00:00
Magomed Kostoev (mkostoevr)
374173db37 [asmxygen] Make dump more beautiful
git-svn-id: svn://kolibrios.org@9030 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-08 17:53:41 +00:00