some structures for okteta
put in $(qtpaths --paths GenericDataLocation)
This commit is contained in:
24
docs/okteta/structures/mbr/main.osd
Normal file
24
docs/okteta/structures/mbr/main.osd
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<data>
|
||||
<struct name="MBR">
|
||||
<!-- 446 bytes: bootstrap code -->
|
||||
<array name="bootCode" length="446">
|
||||
<primitive type="UInt8"/>
|
||||
</array>
|
||||
|
||||
<!-- 4 x 16-byte partition entries -->
|
||||
<array name="partitions" length="4">
|
||||
<struct name="PartitionEntry">
|
||||
<primitive name="status" type="UInt8"/> <!-- 0x80=bootable -->
|
||||
<array name="chsFirst" length="3"><primitive type="UInt8"/></array>
|
||||
<primitive name="type" type="UInt8"/>
|
||||
<array name="chsLast" length="3"><primitive type="UInt8"/></array>
|
||||
<primitive name="lbaStart" type="UInt32"/>
|
||||
<primitive name="lbaSectors" type="UInt32"/>
|
||||
</struct>
|
||||
</array>
|
||||
|
||||
<!-- Signature 0x55AA (little-endian UInt16 == 0xAA55 on disk) -->
|
||||
<primitive name="signature" type="UInt16"/>
|
||||
</struct>
|
||||
</data>
|
||||
12
docs/okteta/structures/mbr/metadata.desktop
Normal file
12
docs/okteta/structures/mbr/metadata.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Icon=application-x-executable
|
||||
Type=Service
|
||||
ServiceTypes=KPluginInfo
|
||||
Name=Stevia MBR Structure
|
||||
X-KDE-PluginInfo-Author=Elaina Claus
|
||||
X-KDE-PluginInfo-Name=mbr
|
||||
X-KDE-PluginInfo-Version=1.0
|
||||
X-KDE-PluginInfo-Website=https://chtm.me
|
||||
X-KDE-PluginInfo-Category=structure
|
||||
X-KDE-PluginInfo-License=MIT
|
||||
X-KDE-PluginInfo-EnabledByDefault=false
|
||||
Reference in New Issue
Block a user