projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a8dcc5b
)
util: add le32_to_cpu()
author
Isaku Yamahata
<yamahata@valinux.co.jp>
Mon, 24 Oct 2011 08:11:07 +0000
(17:11 +0900)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 30 Oct 2011 17:39:12 +0000
(13:39 -0400)
this will be used later.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
src/util.h
patch
|
blob
|
history
diff --git
a/src/util.h
b/src/util.h
index 174e94b6bea22a257a0b6a2648dd14788dd60a46..eecba8b21ee1ab0766a9cf608f0e5d4fc041f18d 100644
(file)
--- 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));