search for: __makedev

Displaying 5 results from an estimated 5 matches for "__makedev".

2010 Feb 25
3
why mtd root device number is __makedev(0,254)
Hi, I'm wondering when /proc/cmdline has "root=/dev/mtdblockX", name_to_dev_t_real will return __makedev(0,254) for root device's device number which is weired. I think we need to create the device on the fly from information in sysfs. Maybe I have mistaken something. Is there any clue? -- Regards, Shizheng -------------- next part -------------- An HTML attachment was scrubbed... URL: <http...
2012 May 24
1
[klibc:master] sys/sysmacros.h: match glibc and define non-__ macros
...1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/usr/include/sys/sysmacros.h b/usr/include/sys/sysmacros.h index c344339..4f0b12a 100644 --- a/usr/include/sys/sysmacros.h +++ b/usr/include/sys/sysmacros.h @@ -31,4 +31,8 @@ static __inline__ dev_t makedev(int __ma, int __mi) return __makedev(__ma, __mi); } +#define major(d) __major(d) +#define minor(d) __minor(d) +#define makedev(ma,mi) __makedev(ma,mi) + #endif /* _SYS_SYSMACROS_H */
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about. The goal is not to be 100% checkpatch compliant, but to have more consistent coding style. As this is a trivial patch serie, will land in 24 hours in klibc git, unless of course ml review hits a bugger. Checked with size(3) that the generated kinit, fstype, ipconfig and nfsmount are the same. maximilian attems (4): [klibc] ipconfig: reduce
2006 Jan 30
1
nearly there
...th signal 6. This happens on 1 machine, the other (unixware too) work fine. The stack trace doesn't make much sense here it is anway... Core image of imap (process p1) created CORE FILE [makedev in cmd-status.c@sys/mkdev.h] SIGNALED 8 (fpe code[FPE_INTDIV] address[0x804e38b]) in p1 76: return __makedev(ver, maj, min); debug> Stack Trace for p1, Program imap *[0] makedev(maj=16, min=1, presumed: 0x8094258) [cmd-status.c@sys/mkdev.h@76] [1] cmd_store(cmd=0x0, presumed: 0x1, 0x80947a0) [cmd-store.c@139] [2] _cmd_select_full(cmd=0x8072498, readonly=false) [cmd-select.c@84] [3] cmd_store(cmd=0x1...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes. External Building ================= Patches 1 through 8 enable to use of klibc's build system while leaving the src tree pristine (and potentially read only). Specifically: - srctree=<Sources for klibc> - objtree=<Ouput directory for klibc> - KLIBCKERNELSRC=<Kernel sources> - KLIBCKERNELOBJ=<Kernel