A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Pierre Schweitzer 15743f2521 [NTOSKRNL]
- Finally fully implement FstubVerifyPartitionTableEFI(). It is capable of fixing a GPT disk.
- Fix implementation of FstubReadHeaderEFI() (which returns a pointer to the header). Fixed all the other functions accordingly. Note that you have to be careful when using Disk->Buffer. You can easily read a buffer that doesn't contain your data anylonger.
- Fix implementation of FstubReadPartitionTableEFI(). It was improperly dealing with the backup table. Now, it will look for it and replace/recreate it if not found where expected.
- Fix implementation of FstubWriteEntryEFI(). The computation of memory placement was wrong, and thus it was missing partitions and causing corruption. Thank you checksums!

In case you format a disk with GPT using Linux (with GParted, for instance), don't be surprised if once started with ReactOS your GPT is modified, and especially its backup table moved. They don't have the same sector counts.
It was a nice way to tests whether ReactOS properly write GPT. Which it does now :-).

svn path=/trunk/; revision=60811
2013-10-31 18:03:48 +00:00
reactos [NTOSKRNL] 2013-10-31 18:03:48 +00:00
rosapps [ROSAPPS] 2013-09-15 18:17:25 +00:00
rostests - Fix build 2013-10-31 17:21:04 +00:00
wallpaper - Add CMakeLists for wallpaper 2012-02-05 13:43:04 +00:00