File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ EFI_STATUS construct_mbi(EFI_PHYSICAL_ADDRESS hv_hpa)
126
126
EFI_MEMORY_DESCRIPTOR * d ;
127
127
uint32_t e820_type = 0 ;
128
128
129
- d = (EFI_MEMORY_DESCRIPTOR * )((unsigned long )map_buf + (i * desc_size ));
129
+ d = (EFI_MEMORY_DESCRIPTOR * )((uint64_t )map_buf + (i * desc_size ));
130
130
switch (d -> Type ) {
131
131
case EfiReservedMemoryType :
132
132
case EfiRuntimeServicesCode :
Original file line number Diff line number Diff line change 7
7
#include <hypervisor.h>
8
8
#include <schedule.h>
9
9
10
- static unsigned long pcpu_used_bitmap ;
10
+ static uint64_t pcpu_used_bitmap ;
11
11
12
12
void init_scheduler (void )
13
13
{
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ static inline uint16_t fls64(uint64_t value)
105
105
* ffs64 (0x8000000000000001) = 0
106
106
* ffs64 (0xf000000000000000) = 60
107
107
*
108
- * @param value: 'unsigned long ' type value
108
+ * @param value: 'uint64_t ' type value
109
109
*
110
110
* @return value: zero-based bit index, INVALID_BIT_INDEX means
111
111
* when 'value' was zero, bit operations function can't find bit
Original file line number Diff line number Diff line change @@ -2267,7 +2267,7 @@ Changes
2267
2267
* Generalized external private key implementation handling (like PKCS#11)
2268
2268
in SSL/TLS
2269
2269
* Revamped x509_verify() and the SSL f_vrfy callback implementations
2270
- * Moved from unsigned long to fixed width uint32_t types throughout code
2270
+ * Moved from uint64_t to fixed width uint32_t types throughout code
2271
2271
* Renamed ciphersuites naming scheme to IANA reserved names
2272
2272
2273
2273
Bugfix
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ static void print_pow2(struct print_param *param,
252
252
uint64_t v_arg , uint32_t shift )
253
253
{
254
254
uint64_t v = v_arg ;
255
- /* max buffer required for octal representation of unsigned long long */
255
+ /* max buffer required for octal representation of uint64_t long */
256
256
char digitbuff [22 ];
257
257
/* Insert position for the next character+1 */
258
258
char * pos = digitbuff + sizeof (digitbuff );
@@ -305,7 +305,7 @@ static void print_pow2(struct print_param *param,
305
305
306
306
static void print_decimal (struct print_param * param , int64_t value )
307
307
{
308
- /* max. required buffer for unsigned long long in decimal format */
308
+ /* max. required buffer for uint64_t long in decimal format */
309
309
char digitbuff [20 ];
310
310
/* pointer to the next character position (+1) */
311
311
char * pos = digitbuff + sizeof (digitbuff );
You can’t perform that action at this time.
0 commit comments