Commit Graph

2167 Commits

Author SHA1 Message Date
02da1fd4f3 Fix for GPT partitions scan.
GPT partition entry array (GPEA) has 128 entries by default, unused ones
must be zeroed. Due to memory corruption GPEA contained non-zero data of
first sectors of partitions. This led to fake partitions detected which
were mostly filtered out by their start:length and thus didn't show up.
Pass ebx=three-sector-sized buffer to disk_add_partition as expected.

git-svn-id: svn://kolibrios.org@7270 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-05-05 13:50:04 +00:00
theonlymirage
ffac6ebf7a Сlear direction flag for Phoenix BIOS (for correct printing of messages in real mode).
git-svn-id: svn://kolibrios.org@7215 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-04-02 06:33:43 +00:00
53a4fd1aef Disable xsave code until proper fix.
git-svn-id: svn://kolibrios.org@7199 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-21 00:02:11 +00:00
CleverMouse
4286d7bac3 revert FpuSave/FpuRestore to old implementations because existing drivers don't know about AVX, provide alternate exports AvxSaveSize/AvxSave/AvxRestore
git-svn-id: svn://kolibrios.org@7168 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-27 16:27:26 +00:00
CleverMouse
43e84d7672 fix FPU after r7124 for other CPU configurations
git-svn-id: svn://kolibrios.org@7165 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-19 16:35:45 +00:00
CleverMouse
a49931c083 fix FPU after r7124
git-svn-id: svn://kolibrios.org@7164 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-19 14:53:31 +00:00
CleverMouse
d74401a2fc use correct language for boot screen, broken in r7129
git-svn-id: svn://kolibrios.org@7140 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-01-26 18:18:03 +00:00
0e02132b9f Replace 'equ' macros with '=' ones.
They appear in symbols file.
They don't require parentheses.
They are shorter.

git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +00:00
70ef44fcc1 Add tests to autobuild: mtrrtest and test_malloc.
git-svn-id: svn://kolibrios.org@7133 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:30:54 +00:00
368d42ffae Update BOOT_DATA structure and use it instead of all the BOOT_* vars.
git-svn-id: svn://kolibrios.org@7132 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-17 02:12:53 +00:00
c14a80d34f Add UEFI stuff.
git-svn-id: svn://kolibrios.org@7130 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 21:10:49 +00:00
f208e0e454 Split bootbios.asm and kernel.asm.
* Move bios-related part of kernel.asm before B32 label to
  bootbios.asm file;
* Move bx_from_load, boot_dev and kernel_restart_bootblock variables
  to BOOT_* 0x9000 block;
* Update Tupfile.lua, Makefile, build.bat, build.sh accordingly;
* Now bios and uefi loaders can jump to very first byte of the kernel.

git-svn-id: svn://kolibrios.org@7129 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-16 20:21:10 +00:00
6494817540 Add EFLAGS_* macros, get rid of some more magic numbers.
git-svn-id: svn://kolibrios.org@7126 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 06:39:34 +00:00
9e6b9b61f7 Use xsave/xrestor if available, enable AVX* instructions.
git-svn-id: svn://kolibrios.org@7124 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 05:24:21 +00:00
09684c0db9 Synchronize memmap.inc and const.inc, replace hardcoded numbers with macros.
git-svn-id: svn://kolibrios.org@7122 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 22:03:58 +00:00
16d9a4a4bc Remove VRR code, mostly commented out anyway.
git-svn-id: svn://kolibrios.org@7121 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-29 00:15:25 +00:00
afdc8496fb Add empty $Revision$ macro.
svn keywords are neither substituted by git-svn nor catched by
existing "$Revision a" macro, ignore them to not fail the build.

git-svn-id: svn://kolibrios.org@7114 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-11-20 09:58:28 +00:00
0CodErr
5721df73ee fix for draw not ASCIIZ
git-svn-id: svn://kolibrios.org@7103 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-20 16:03:18 +00:00
hidnplayr
144ea3d326 Use tcp_output instead of tcp_respond to send delayed acks, we need it for correct window advertisement amongst other things...
git-svn-id: svn://kolibrios.org@7099 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 19:59:47 +00:00
ashmew2
a396aff3da Fix TCP window size in tcp_respond
git-svn-id: svn://kolibrios.org@7098 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-17 19:43:14 +00:00
pathoswithin
cb0c6cee9a sysfunction 70.10 new name validation
git-svn-id: svn://kolibrios.org@7040 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-03 10:27:20 +00:00
pathoswithin
a83abc4c5f fat: support for non-ASCII chars in short names
git-svn-id: svn://kolibrios.org@7003 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-22 21:51:37 +00:00
0CodErr
ea4f9aa063 remove unnecessary check
git-svn-id: svn://kolibrios.org@6974 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-09-13 10:53:39 +00:00
Sergey Semyonov (Serge)
2cbf514c37 kernel: get_clock_ns() funny 96-bit arithmetic
git-svn-id: svn://kolibrios.org@6942 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-08-11 16:17:30 +00:00
Sergey Semyonov (Serge)
d8ccef567e kernel: get_clock_ns() correction
git-svn-id: svn://kolibrios.org@6941 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-08-11 14:55:17 +00:00
pathoswithin
aa52644442 small fix
git-svn-id: svn://kolibrios.org@6939 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-07-29 05:24:20 +00:00
pathoswithin
ed0c1f6d3a ext fs: sysfunction 70.10 support
git-svn-id: svn://kolibrios.org@6933 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-07-09 08:28:00 +00:00
Sergey Semyonov (Serge)
8b1036ed49 kernel: pipes - improved synchronization
git-svn-id: svn://kolibrios.org@6929 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-16 22:47:00 +00:00
Sergey Semyonov (Serge)
65af271ccd kernel: pipe io bugfixes
git-svn-id: svn://kolibrios.org@6928 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-16 11:19:43 +00:00
Sergey Semyonov (Serge)
7ee30af446 kernel: read/write operations on pipe
git-svn-id: svn://kolibrios.org@6927 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-16 07:53:37 +00:00
Sergey Semyonov (Serge)
af61cc97e8 kernel: initial pipe() support
git-svn-id: svn://kolibrios.org@6926 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-15 22:36:39 +00:00
pathoswithin
fc631064ea New sysfunction 70.10 "rename/move"
git-svn-id: svn://kolibrios.org@6917 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-06-08 10:03:01 +00:00
hidnplayr
44f6fd248e TCP: Use bitflag instead of dword for t_force.
git-svn-id: svn://kolibrios.org@6916 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-31 17:54:16 +00:00
hidnplayr
f8148f187a TCP: dont accept out of order FINs.
git-svn-id: svn://kolibrios.org@6915 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 21:21:21 +00:00
hidnplayr
5b5249a5d6 TCP: Don't increase sequence number when resending a FIN.
git-svn-id: svn://kolibrios.org@6914 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 20:33:16 +00:00
ashmew2
c23792822f TCP Fast ACK: Fix advertised window size
git-svn-id: svn://kolibrios.org@6913 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-30 16:41:35 +00:00
hidnplayr
e9dc6c5ab5 TCP: improved routing, connect.
git-svn-id: svn://kolibrios.org@6912 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:57:46 +00:00
hidnplayr
e15ba926dd UDP: Improved routing.
git-svn-id: svn://kolibrios.org@6911 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:55:31 +00:00
hidnplayr
3c9e868864 TCP_process_input: remember device number.
git-svn-id: svn://kolibrios.org@6910 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 20:50:33 +00:00
hidnplayr
f4e464bc8a Bugfix for TCP advertised window calculation.
git-svn-id: svn://kolibrios.org@6909 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-28 16:52:24 +00:00
ashmew2
caf7d0c041 Add a build script for Linux
git-svn-id: svn://kolibrios.org@6908 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:56:19 +00:00
ashmew2
03c47f08be Build script for linux
git-svn-id: svn://kolibrios.org@6907 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-26 18:43:39 +00:00
pathoswithin
f4669d53a9 fix for 70.1
git-svn-id: svn://kolibrios.org@6901 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-19 09:02:21 +00:00
pathoswithin
5d55e63e36 small fix
git-svn-id: svn://kolibrios.org@6900 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-18 09:15:03 +00:00
pathoswithin
545bc303eb sysfunction 4: string length tracking
git-svn-id: svn://kolibrios.org@6899 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-17 08:01:34 +00:00
pathoswithin
a4a06a81a0 no need for manual heap initialization (68.11)
git-svn-id: svn://kolibrios.org@6893 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-13 06:41:42 +00:00
IgorA
dc5527c5ca update docs sys function 54.1
git-svn-id: svn://kolibrios.org@6891 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-04-29 09:12:39 +00:00
pathoswithin
ff31272774 documentation fix
git-svn-id: svn://kolibrios.org@6880 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-28 14:30:08 +00:00
Artem Jerdev (art_zh)
ce35591444 hardware cursor init code updated for Kavery GPU
git-svn-id: svn://kolibrios.org@6877 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-07 20:11:13 +00:00
pathoswithin
45aee00e6b sysfunction 70.5: small change
git-svn-id: svn://kolibrios.org@6876 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-03-07 16:28:02 +00:00