Displaying 3 results from an estimated 3 matches for "guid_text".
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...*buf << 4;
- buf++;
- *walker |= *buf;
- buf++;
- i++;
- }
- return 0;
-}
-
-/**
- * Display GPT partition details.
- *
- * @v gpt_part The GPT partition entry to display
- */
-void disk_gpt_part_dump(const struct disk_gpt_part_entry *const gpt_part)
-{
- unsigned int i;
- char guid_text[37];
-
- dprintf("----------------------------------\n"
- "GPT part. LBA first __ : 0x%.16" PRIx64 "x\n"
- "GPT part. LBA last ___ : 0x%.16" PRIx64 "x\n"
- "GPT part. attribs ____ : 0x%.16" PRIx64 "x\n"
- "...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello,
the following patches should get multidisk access working.
The syntax accepted is the following:
(hdx,y)/path/to/file
where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk.
the other accepted syntax is using MBR's 32 bits disk signature so for example:
(mbr:0x12345678,2)/foo/bar
would address
2014 Nov 22
1
Get rid of printf format warning format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’
...slinux/disk.c
@@ -35,6 +35,7 @@
#include <core.h>
#include <dprintf.h>
+#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -528,9 +529,9 @@ void disk_gpt_part_dump(const struct disk_gpt_part_entry *const gpt_part)
char guid_text[37];
dprintf("----------------------------------\n"
- "GPT part. LBA first __ : 0x%.16llx\n"
- "GPT part. LBA last ___ : 0x%.16llx\n"
- "GPT part. attribs ____ : 0x%.16llx\n"
+ "GPT part. LBA first __ : 0x%.16" PRIx64 "\n...