Changeset 69613 in vbox for trunk/src/VBox/Devices/EFI/Firmware
- Timestamp:
- Nov 8, 2017 12:11:36 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118973
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/fsw_hfs.c
r69500 r69613 37 37 38 38 #ifdef HOST_POSIX 39 #include <assert.h> 39 40 #define DPRINT(x) printf(x) 40 41 #define DPRINT2(x,y) printf(x,y) 41 #define BP(msg) do { printf("ERROR: %s", msg); as m("int3"); } while (0)42 #define BP(msg) do { printf("ERROR: %s", msg); assert(0); } while (0) 42 43 #elif defined DEBUG_LEVEL 43 44 #define CONCAT(x,y) x##y … … 928 929 while(1) 929 930 { 930 /* get next valid character from ckey1 */931 /* get next valid (non-zero) character from ckey1 */ 931 932 for (lc = 0; lc == 0 && apos < key1Len; apos++) { 932 933 ac = be16_to_cpu(p1[apos]); 933 lc = ac ? fsw_to_lower(ac) : 0;934 lc = fsw_to_lower(ac); /* NB: 0x0000 is translated to 0xffff */ 934 935 }; 935 936 ac = (fsw_u16)lc; 936 937 937 /* get next valid character from ckey2 */938 /* get next valid (non-zero) character from ckey2 */ 938 939 for (lc = 0; lc == 0 && bpos < ckey2->nodeName.length; bpos++) { 939 940 bc = p2[bpos]; 940 lc = bc ? fsw_to_lower(bc) : 0;941 lc = fsw_to_lower(bc); /* NB: 0x0000 is translated to 0xffff */ 941 942 }; 942 943 bc = (fsw_u16)lc;
Note:
See TracChangeset
for help on using the changeset viewer.