From: Isaku Yamahata Date: Mon, 24 Oct 2011 08:11:07 +0000 (+0900) Subject: util: add le32_to_cpu() X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=seabios.git;a=commitdiff_plain;h=baae94052fa4cebbd64fcc478d1a2bec2b642748 util: add le32_to_cpu() this will be used later. Signed-off-by: Isaku Yamahata --- diff --git a/src/util.h b/src/util.h index 174e94b..eecba8b 100644 --- a/src/util.h +++ b/src/util.h @@ -129,6 +129,11 @@ static inline u32 cpu_to_le32(u32 x) return x; } +static inline u32 le32_to_cpu(u32 x) +{ + return x; +} + static inline u32 getesp(void) { u32 esp; asm("movl %%esp, %0" : "=rm"(esp));