www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit fbb5526f3fd58dec4a33bdf43802bbe2a94a8373
parent 9fa55baf2cf4a604276b7423e94c532988d1a295
Author: Georges Dupéron <georges.duperon@gmail.com>
Date:   Fri, 27 Jul 2018 21:01:44 +0200

Use a smaller partition in the dummy partition table created in assembly, to avoid gdisk warning

gdisk was giving the following warning with the previous size: Secondary partition table overlaps the last partition by 72 blocks!

Diffstat:
Mexample-os/os.asm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example-os/os.asm b/example-os/os.asm @@ -55,7 +55,7 @@ db "ExOSxx" ;; 0x1b8 unique disk ID (4-6 bytes? Can be any value) ;;; 4 bytes LBA length ;;;0x1be 0x1c1 0x1c2 0x1c5 0x1c6 0x1c9 0x1ca 0x1cd ;;; This is filled with dummy values, and later patched with gdisk. -db 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x00, 0x9b, 0x05, 0x00, 0x00 ;; 0x1be p1 +db 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x00, 0x53, 0x05, 0x00, 0x00 ;; 0x1be p1 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ;; 0x1ce p2 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ;; 0x1de p3 db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ;; 0x1ee p4