Displaying 20 results from an estimated 99 matches for "loadfile".
2015 Aug 28
4
HP EFI binaries
Sorry guys; I got a bit lost about Gene's request on this thread;
usually a handle dump like
# dh > handles.txt
it's all we need to see the relationship between the
NBP's device handle and the Service Binding handles.
Did you get handles.txt? is it available for download somewhere?
>>>
Gene, after modifying some of Patrick's code I have been able to get the
2008 Jan 16
1
menu(s) won't compile because of missing header file
If you cd to the /menu directory and type 'make' it
fails with this error:
libmenu/help.c:17:57: error: loadfile.h: No such file
or directory
libmenu/help.c: In function 'showhelp':
libmenu/help.c:99: warning: implicit declaration of
function 'loadfile'
make: *** [libmenu/help.o] Error 1
The problem can be averted by adding the proper header
location the file /menu/libmenu/help.c
Line 17 sho...
2015 Aug 28
0
HP EFI binaries
Thanks Derrik; I got your efi-dh.txt
I've found this:
252: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
267: SimpleNetwork PXEBaseCode LoadFile DevicePath(065F36E00EE,0x1)/IPv4(0.0.0.0))
27C: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
291: SimpleNetwork PXEBaseCode LoadFile DevicePath(065F36E00EF,0x1)/IPv4(0.0.0.0))
2A6: Si...
2010 Apr 27
4
Patch sensible callback framework
This patch adds a simple callback framework.
Modified loadfile and floadfile to look for callbacks and call them if present
Supports multiple callbacks
Modified com32/modules/linux.c to demonstrate functionality (it's a little more complicated than it should be just to demonstrate multiple callbacks). Add progress argument to display a percentage indi...
2016 Nov 20
2
[PATCH 0/2] improve Lua API for files and initramfs objects
...o what you are saying here is that it isn't
>>> actually broken, it is just suboptimal?
>>
>> No, this interface is completely missing at the moment. You can read
>> a file using standard Lua I/O calls and work with its content. Or
>> you can read a file using loadfile() provided by Syslinux, but then
>> you can't look at its contents from Lua. You can run it as a kernel
>> or use it as an initramfs, but the only available Lua methods are
>> name and size now. Paul adds the data method to export the contents
>> to Lua, mainly for the...
2010 Apr 23
1
Path simple menu integrated progress indicator
...o display when loading
MENU LOADMSGROW -- controls where the text is written
Example configuration:
MENU LOADMSG Booting
MENU LOADMSGROW 25
It works with my setup, please let me know if you find any bugs or spot any problems. Thank you.
diff -uprN syslinux-3.86-vanilla//com32/include/syslinux/loadfile.h syslinux-3.86/com32/include/syslinux/loadfile.h
--- syslinux-3.86-vanilla//com32/include/syslinux/loadfile.h 2010-03-31 11:24:25.000000000 -0500
+++ syslinux-3.86/com32/include/syslinux/loadfile.h 2010-04-15 10:14:24.000000000 -0500
@@ -9,7 +9,9 @@
#define LOADFILE_ZERO_PAD 64
int...
2024 Feb 17
2
Fail kerberos method = secrets and keytab and net offlinejoin requestodj
Hello
I don't know if this is normal behavior (does the djoin have the spn?):
When a have kerberos method in smb.conf :
kerberos method = secrets and keytab
Joining with offlinejoin does not work:
root at testjoinlinux:/# net offlinejoin requestodj loadfile=/root/djoin
===============================================================
INTERNAL ERROR: Signal 11: Erreur de segmentation in net () () pid 3088
(4.19.4-Debian)
If you are running a recent Samba version, and if you think this problem
is not yet fixed in the latest versions, please consider rep...
2009 Jul 01
1
Average of data files in a directory
...f two data vectors. However, I can't work out to compute the
average when you have many data vectors in a directory. I have done this:
------------------------------------
setwd("/.../data/")
listfiles <- list.files(pattern=".pre") # list all datafiles in the
directory
loadfiles <- lapply(listfiles,read.csv) # read the csv files
meanData <- lapply(loadfiles,mean) # intended to compute the element-wise
average.
------------------------------------
Which does not produce the right result. Let me explain myself better... The
data files have the form (500 rows):
Time,...
2016 Nov 29
0
[PATCH 0/2] improve Lua API for files and initramfs objects
...ject on the Lua side) into an (interned) Lua
> string to make it available to the Lua string functions.
>
> You probably ask why we copy the data when we create those SYSLINUX_FILE
> userdata objects. We don't, the data is read directly into the
> syslinux_file structure by the loadfile() Syslinux function. This was
> already the case when I first saw the Lua binding in Syslinux. Thinking
> about it now, the SYSLINUX_FILE userdata objects and their entire
> interface could be replaced by Lua tables with two string fields for
> much the same effect, unless the native...
2016 Nov 19
2
[PATCH 0/2] improve Lua API for files and initramfs objects
...scripts.
>
> It does seem useful. So what you are saying here is that it isn't
> actually broken, it is just suboptimal?
No, this interface is completely missing at the moment. You can read a
file using standard Lua I/O calls and work with its content. Or you can
read a file using loadfile() provided by Syslinux, but then you can't
look at its contents from Lua. You can run it as a kernel or use it as
an initramfs, but the only available Lua methods are name and size now.
Paul adds the data method to export the contents to Lua, mainly for the
sake of completeness, if I understan...
2015 Aug 28
6
HP EFI binaries
On Fri, Aug 28, 2015 at 4:22 AM, Patrick Masotta <masottaus at yahoo.com> wrote:
> Thanks Derrik; I got your efi-dh.txt
>
> I've found this:
>
> 252: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
> 267: SimpleNetwork PXEBaseCode LoadFile DevicePath(065F36E00EE,0x1)/IPv4(0.0.0.0))
> 27C: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
> 291: SimpleNetwork PXEBaseCode LoadFile DevicePath(065F36E00EF,0x1)/IPv4(0....
2010 Jun 30
2
[PATCH] chain.c32: add menu support to grub loader
...\n\
+ keeppxe Keep the PXE and UNDI stacks in memory (PXELINUX)\n\
See syslinux/com32/modules/chain.c for more information\n";
error(usage);
}
@@ -1349,6 +1350,11 @@ int main(int argc, char *argv[])
opt.seg = 0x800; /* stage2 wants this address */
opt.loadfile = argv[i] + 5;
opt.grub = true;
+ opt.grubmenu = strchr(opt.loadfile, ',');
+ if (opt.grubmenu) {
+ *opt.grubmenu = '\0';
+ opt.grubmenu += 1;
+ }
} else if (!strncmp(argv[i], "grldr=", 6)) {
opt.loadfile = argv[i] + 6;
opt.grldr = true;
@...
2010 Jul 26
5
[RFC/PATCH] New chainloading functionality
This patch introduces extra functionality to chain.c, mainly with reference to
BPB adjustments, but not only that. It expects 3 small patches I sent earlier
(they are included for easy reference, patches 1-3/4).
The changes introduced are:
1) file and boot sector use separate options to control load address and jump
address (if applicable). Options are as described below:
*
2013 Jul 13
2
pxechn.c32 does not do TFTP
Digging more, loadfile("192.0.2.1::pxe.0", &file.data, &file.size),
queries DNS, which sounds like it doesn't follow the same call path as
a COM32 calling pxe_dns(). If the DNS won't resolve the IP, things
won't load properly. pxechn.c32 sets sname in the intended packet to
"192.0.2.1...
2006 May 08
3
Non repetitive permutations/combinations of elements
...and -1s for 3 columns can be done uniquely in 2^3 ways.
-1 -1 -1
-1 -1 1
-1 1 -1
-1 1 1
1 -1 -1
1 -1 1
1 1 -1
1 1 1
and for 4 columns in 2^4 ways and so on.
I finally used the function combn([0 1],3) that I found at the following link
http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7147&objectType=FILE
written by Jos van der Geest in Matlab which generated the above.
How can I do this is R? I have looked at permn and combn in the combinat library
and permutations and combinations in the gtools library and I am still confused
as to how to get it to work.
Any...
2014 Oct 13
2
[PATCH][git-pull] lua: fix broken bindings, switch to using methods, document things
...lua: docs: add new bindings to syslinux.asc
lua: vesa: delete stray would-be-debug output
lua: docs: bring documentation up to date
lua: docs: remove overall indentation and some verbose cruft from the examples
libansi.h: depends on stdbool.h and stdio.h
lua: docs: loadfile() is not TFTP-specific
lua: docs: remove printf from loadfile example
lua: docs: condense the PCI example
lua: Remove even more cruft from syslinux.c
lua: represent syslinux files as full userdata
lua: garbage collect file objects
lua: make the file operations me...
2011 Jul 06
1
Compiling on Mac OS X
...-fno-gnu-keywords -Wundef -Wshadow -Wstrict-null-sentinel -Wstrict-overflow=1 -fvisibility=hidden -Werror -I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2 -o omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o weight.o str.o unixperm.o urlencode.o /Users/samuel/Documents/Programming/Internet/xapian/xapian-core/libxapian.la libtransform.la -liconv
libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security -fno...
2007 Dec 24
1
Question on menu/Makefile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Was just working with the latest 3.54, and find that the Makefile in the menu
directory didn't work until I added the /include/syslinux to the file.
< CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -
march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -
I$(COM32DIR)/include -I$(COM32DIR)/include/syslinux -Ilibmenu -
D__COM32__
-
2009 Dec 28
1
[PATCH] chain.c32: add support for booting the Recovery Console of Windows NT/2K/XP
...ys.
*
@@ -85,6 +89,7 @@
uint16_t keeppxe;
uint16_t seg;
bool isolinux;
+ bool cmldr;
bool swap;
bool hide;
} opt;
@@ -679,6 +684,10 @@
} else if (!strncmp(argv[i], "ntldr=", 6)) {
opt.seg = 0x2000; /* NTLDR wants this address */
opt.loadfile = argv[i] + 6;
+ } else if (!strncmp(argv[i], "cmldr=", 6)) {
+ opt.seg = 0x2000; /* CMLDR wants this address */
+ opt.loadfile = argv[i] + 6;
+ opt.cmldr = true;
} else if (!strncmp(argv[i], "freedos=", 8)) {
opt.seg = 0x60; /* FREEDO...
2010 Jun 30
0
[PATCH] chain.c32: add grubcfg= for passing an alternative config
...UB4DOS grldr\n\
seg=<segment> Jump to <seg>:0000, instead of 0000:7C00\n\
swap Swap drive numbers, if bootdisk is not
fd0/hd0\n\
@@ -1349,6 +1355,8 @@ int main(int argc, char *argv[])
opt.seg = 0x800; /* stage2 wants this address */
opt.loadfile = argv[i] + 5;
opt.grub = true;
+ } else if (!strncmp(argv[i], "grubcfg=", 8)) {
+ opt.grubcfg = argv[i] + 8;
} else if (!strncmp(argv[i], "grldr=", 6)) {
opt.loadfile = argv[i] + 6;
opt.grldr = true;
@@ -1585,13 +1593,43 @@ int main(int argc, char...