On Sat, Nov 20, 2010 at 11:00:15AM +0100, Marco Stornelli wrote:
+/*
+ * Debug code
+ */
+#define pram_dbg(s, args...) pr_debug(PRAMFS: s, ## args)
+#define pram_err(s, args...) pr_err(PRAMFS: s, ## args)
+#define pram_warn(s, args...)pr_warning(PRAMFS: s, ## args)
+#define
2010/11/24 Paul Mundt let...@linux-sh.org:
On Sat, Nov 20, 2010 at 10:58:40AM +0100, Marco Stornelli wrote:
diff -Nurp linux-2.6.36-orig/fs/pramfs/file.c linux-2.6.36/fs/pramfs/file.c
--- linux-2.6.36-orig/fs/pramfs/file.c 1970-01-01 01:00:00.0
+0100
+++
On Sat, Nov 20, 2010 at 11:00:45AM +0100, Marco Stornelli wrote:
+int pram_add_link(struct dentry *dentry, struct inode *inode)
+{
+ struct inode *dir = dentry-d_parent-d_inode;
+ struct pram_inode *pidir, *pi, *pitail = NULL;
+ u64 tail_ino, prev_ino;
+
+ const char *name =
On Wed, Nov 24, 2010 at 09:11:13AM +0100, Marco Stornelli wrote:
2010/11/24 Paul Mundt let...@linux-sh.org:
most of this from ext2, I'm curious why you opted to hardcode this
instead of maintaining the flexibility that ext2 XIP has over this.
First of all because it was simpler :) In
On Wed, Nov 24, 2010 at 09:23:02AM +0100, Marco Stornelli wrote:
2010/11/24 Paul Mundt let...@linux-sh.org:
+#ifdef CONFIG_PRAMFS_WRITE_PROTECT
+extern void pram_writeable(void *vaddr, unsigned long size, int rw);
+
+#define wrprotect(addr, size) pram_writeable(addr, size, 0)
+
+#else
From: Lasse Collin lasse.col...@tukaani.org
This implements the API defined in linux/decompress/generic.h
which is used for kernel, initramfs, and initrd decompression.
This patch together with the first patch is enough for
XZ-compressed initramfs and initrd; XZ-compressed kernel will
need
From: Lasse Collin lasse.col...@tukaani.org
This integrates the XZ decompression code to the x86
pre-boot code.
mkpiggy.c is updated to reserve about 32 KiB more buffer safety
margin for kernel decompression. It is done unconditionally for
all decompressors to keep the code simpler.
The XZ
On Wed, 24 Nov 2010 22:51:52 +0200
Lasse Collin lasse.col...@tukaani.org wrote:
From: Lasse Collin lasse.col...@tukaani.org
In userspace, the .lzma format has become mostly a legacy
file format that got superseded by the .xz format. Similarly,
LZMA Utils was superseded by XZ Utils.
These
On 11/24/2010 02:50 PM, H. Peter Anvin wrote:
Logically it should be an additional CONFIG option like we currently
have for the other compression formats.
And so it is (it's in the latter patches).
-hpa
--
To unsubscribe from this list: send the line unsubscribe linux-embedded in
On 25/11/10 06:32, Phillip Lougher wrote:
+
+ for (i = 0; i size; ++i)
The kernel uses either i size or isize ...
Disregard these, looks like my email client (Mozilla Thunderbird)
is eating spaces... Very odd
+ if (fill == NULL flush == NULL) {
and this.
--
To unsubscribe from this
10 matches
Mail list logo