similar to: mmap and getpagesize

Displaying 20 results from an estimated 2000 matches similar to: "mmap and getpagesize"

2004 Jan 26
1
need a few additions
I have my VBIOS reset program working on klibc now. I think I have tracked down and fixed all of the problems I was having. So to make this official I need a few minor klibc additions: 1) fix inb/w/l to return the right variable. 2) implement getpagesize() 3) add support for vm86 - one function and one header file. Later, if you're interested, we could modify the vm86 function to call the
2017 Oct 30
2
[PATCH] openbsd-compat/bsd-getpagesize.c: include includes.h for config.h defines
The configure script checks for getpagesize() and sets HAVE_GETPAGESIZE in config.h, but bsd-getpagesize.c forgot to include includes.h (which indirectly includes config.h) so the checks always fails, causing linker issues when linking statically on systems with getpagesize(): http://autobuild.buildroot.net/results/8cc/8cc30818a400c7a392a3de787cabc9cd8425495f/build-end.log Fix it by including
2004 Jul 15
2
getpagesize / libsysfs broken with 0.148
Hi all, the implementation of getpagesize() is broken in klibc. klibc uses sysinfo.mem_unit, which linux interpretes as the memory unit all other memory values returned are to be multiplied with. So it's perfectly ok for the linux sysinfo() to return a mem_unit of '1', which is does if the memory available for this machine fits into the counter. For the unbelievers, have a look in
2008 Jul 29
2
syconf(_SC_PAGESIZE) versus getpagesize()
hello karel, thanks a lot for the klibc portability merges. current HEAD klibc failure: mkswap.c: In function ?init_signature_page?: mkswap.c:148: error: ?_SC_PAGESIZE? undeclared (first use in this function) although POSIX encourages sysconf() could util-linux use getpagesize() ? -- maks
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this? [jonsmirl@smirl klibc-0.184]$ make make[1]: Entering directory `/home/dri/klibc-0.184/klibc' gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386 -I../include/bits32 -I../include
2004 Oct 16
1
181 and current Linus
klibc appears to build ok, some of the apps fail gcc -Wp,-MD,.fstype.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386 -I../include/bits32 -I../include -I../linux/include -I../linux/include2 -W -Wall -c -o fstype.o fstype.c fstype.c: In function `romfs_image':
2006 Jan 17
2
file_column plugin and instance variables
To make file_column work I have to copy my local variable back to an instance variables like this: <% for product in @products @product = product %> <div class="catalogentry"> <%= image_tag url_for_file_column(''product'', ''image_url'') %></p> This is needed because file_column specifically looks for the instance
2006 Jan 31
2
New free IBM DB2 with few restrictions
This will give you something to run on when Oracle refuses to renew the MySQL InnoDB license next year..... Linux and Windows versions You can run DB2 Express-C on up to 2 dual-core CPU servers, with up to 4 GB of memory, any storage system setup and with no restrictions on database size or any other artificial restrictions. Business partners may choose to register for free redistribution of
2006 Jan 12
2
ActionController#send_file
Looking at the code for ActionController#send_file I see that it is using ruby to send the file contents. Linux supports a sendfile() OS call. The implementation of Linux sendfile() is extremely fast and very CPU efficient, far faster than what can be done in user space. Does Windows support a sendfile() equivalent call? I haven''t been working with ruby long enough to know how it handles
2004 Feb 07
1
double define of __BIT_TYPES_DEFINED__
/klibc/klibc/include/bits32/bitsize/stdint.h:8: error: redefinition of `int8_t' /klibc/linux/include/linux/types.h:109: error: `int8_t' previously declared here The copy in stdint.h is not protected by: #ifndef __BIT_TYPES_DEFINED__ #define __BIT_TYPES_DEFINED__ #endif /* !(__BIT_TYPES_DEFINED__) */ ===== Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!?
2006 Jan 14
4
Rails URLs always try to open non-existent files
The lighttpd config file is set up like this... Rails url: //host/controller/method/id Lighttpd tries to open the file ''controller/method/id'' from the document root. Of course this doesn''t work and generates an error 404 This gets caught with: server.error-handler-404 = "/dispatch.fcgi" Which turns the request into "/dispatch.fcgi" That gets caught
2006 Feb 06
1
belongs_to versus references
I was just reading through the Rails book and I got to the part about belongs_to versus references. Shouldn''t references be allowed as a synonym to belongs_to? Looking at this from a schema in the model view point, belongs to corresponds to a foreign key with the cascade on delete option. References is just a normal forgeign key with no cascade option. -- Jon Smirl jonsmirl@gmail.com
2004 Jan 26
1
README paths to ftp and CVS
ftp should be: ftp://ftp.zytor.com/pub/linux/klibc/ instead of: ftp://ftp.zytor.com/pub/linux/libs/klibc/ CVS says: http://www.zytor.com/cvsweb.cgi/klibc/ but that's broken. ===== Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
2004 Feb 15
1
Macros for wait() status
Can I get the macros for interpreting wait() exit status? wait(&status); if (__WIFEXITED(status) && (__WEXITSTATUS(status) == 0)) { //need klibc fix ===== Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html
2004 Feb 21
1
sighandler_t signal(int signum, sighandler_t handler);
sighandler_t signal(int signum, sighandler_t handler); it's in the headers ok but the function seems to be missing. I seem to recall this working in older versions. linking... /home/mesa/boot/v86bios/main.c:411: undefined reference to `signal' main.o(.text+0x613): /home/mesa/boot/v86bios/main.c:412: undefined reference to `signal' ===== Jon Smirl jonsmirl@yahoo.com
2004 Feb 21
1
REGPARM_OPT
This is enabled in v114 for arch/i386. The comments read like you meant to leave it disabled by default. ===== Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools
2004 Apr 12
1
libsysfs and klibc
libsysfs is using a few things not in klibc. udev is getting around this by having a private copy of libsysfs with a few modifications to make it work on klibc. What's the easiest path for getting the master libsysfs copy working on klibc? libsysfs needs two calls: setmntent, getmntent These are used to locate the mount point of /sys It also uses errno so I get link errors for
2004 Sep 14
1
v173 and current 2.6 Linus BK on x86
v173 doesn't build on current 2.6 Linus BK on x86 Complaints about undeclared __le64, __le32, __be64, __be32, __be16 What am I doing wrong? In file included from ../linux/include/asm/byteorder.h:57, from ../klibc/include/endian.h:9, from ../klibc/include/netinet/in.h:13, from ../klibc/include/arpa/inet.h:11, from
2005 Mar 11
1
emu86 in klibc
Posting video cards usually require running x86 ROMs. This doesn't work to well when people plug x86 video cards into ia64 and ppc machines. People do this because the x86 versions are half the price of the OpenFirmware ones. Even x86 machines need to run the ROMs for secondary cards. I'm in the process of modifying fbdev to use hotplug events to run these ROMs. What about including emu86
2004 Jan 24
1
get rid of various warnings, errors in io.h
In 0.97 io.h is wrong in several places. it should be returning __v, not v. static __inline__ unsigned char inb(unsigned short __p) { unsigned char __v; asm volatile("inb %1,%0" : "=a" (__v) : "dN" (__p)); return v; } How do I get rid of these warnings? /home/mesa/boot/klibc/klibc/include/stdlib.h:21: warning: shadowing built-in function `abs'