Displaying 16 results from an estimated 16 matches for "clk_tck".
2006 May 25
1
pxelinux/mboot confused about e820 memory maps on HP Proliant BIOS's
...ff of the stack. The fix below simply
does a 'memset(®s_in, 0, sizeof (regs_in))' to clear the
fields.
Also included in the diffs below are changes to permit
the syslinux package to build on the latest Fedora Core 5
release. They should make no functional change - but reflect
that CLK_TCK is not visible by default (some Xopen/Posix stuff I
think).
Please consider these changes for inclusion into the next
release of syslinux/pxelinux/mboot.
Thanx Much,
_Mike_
---
Michael Walker
Software Developer
Cassatt Corporation, San Jose, CA
----------------------------
--- baseline-sys...
2012 May 04
3
[GIT PULL] elflink fixes
...obal default */
static int has_ui = 0; /* DEFAULT only counts if UI is found */
@@ -1081,13 +1083,14 @@ do_include:
//dprintf("got a kernel: %s, type = %d", ld.kernel, ld.type);
}
} else if (looking_at(p, "timeout")) {
- m->timeout = (atoi(skipspace(p + 7)) * CLK_TCK + 9) / 10;
+ kbdtimeout = (atoi(skipspace(p + 7)) * CLK_TCK + 9) / 10;
} else if (looking_at(p, "totaltimeout")) {
totaltimeout = (atoll(skipspace(p + 13)) * CLK_TCK + 9) / 10;
} else if (looking_at(p, "ontimeout")) {
- m->ontimeout = refstrdup(skipspace(p +...
2015 Sep 28
3
[PATCH 0/1] efi: DNS resolver
...s which is probably the
most critical operation this doesn't have. We can't stay in the query
forever. jiffies() and ms_timer() are the two available in the core.
core/legacynet/dnsresolv.c used jiffies() but ms_timer() should be
dealing with millisecond values, not 55ms jiffies and about CLK_TCK
jiffies per second.
An alternative way to just stub it is to merge everything but the
actual call that starts sending UDP packets or just the most basic
functionality you've implemented first.
--
-Gene
2007 Aug 21
5
proper way to sleep
This is not spam about sleep aids :)
Q: Is there a 'standard' way to sleep for a specified number of BIOS ticks
(or seconds) in a com32 program?
I grepped through the com32 library source and didn't find anything for
'sleep' or 'tick'.
If not, you may want to consider adding:
void syslinux_sleep(int seconds);
void syslinux_sleep_bios_ticks(int ticks);
or
2015 Sep 28
1
[PATCH 0/1] efi: DNS resolver
...ritical operation this doesn't have. We can't stay in the query
> > forever. jiffies() and ms_timer() are the two available in the core.
> > core/legacynet/dnsresolv.c used jiffies() but ms_timer() should be
> > dealing with millisecond values, not 55ms jiffies and about CLK_TCK
> > jiffies per second.
>
> Not sure I understand everything correctly.
> Currently, the code won't stay in the query forever. It tries every
> server once and exit. I think trying every server 3 times would be
> better as there may be a single DNS server and UDP packets m...
2010 May 30
1
[RFC PATCH] menu: support single key booting
...menu(void)
{
int key;
int done = 0;
+ int hotkey = 0;
volatile int entry = cm->curentry;
int prev_entry = -1;
volatile int top = cm->curtop;
@@ -854,7 +855,12 @@ static const char *run_menu(void)
}
this_timeout = min(min(key_timeout, timeout_left), (clock_t) CLK_TCK);
- key = mygetkey(this_timeout);
+
+ if (hotkey && me->commit)
+ key = KEY_ENTER;
+ else
+ key = mygetkey(this_timeout);
+ hotkey = 0;
if (key != KEY_NONE) {
timeout_left = key_timeout;
@@ -1071,7 +1077,7 @@ static const char *run_menu(void)
if (cm->menu_hotkeys[...
2015 Sep 28
0
[PATCH 0/1] efi: DNS resolver
...the
> most critical operation this doesn't have. We can't stay in the query
> forever. jiffies() and ms_timer() are the two available in the core.
> core/legacynet/dnsresolv.c used jiffies() but ms_timer() should be
> dealing with millisecond values, not 55ms jiffies and about CLK_TCK
> jiffies per second.
Not sure I understand everything correctly.
Currently, the code won't stay in the query forever. It tries every
server once and exit. I think trying every server 3 times would be
better as there may be a single DNS server and UDP packets may get
lost. The only way we c...
2012 Dec 05
7
ov_open_callbacks takes so much time to open 210 MB OGG file
Why ov_open_callbacks(fd_, &vf, NULL, 0, OV_CALLBACKS_NOCLOSE) takes so
long to open OGG file?
The OGG file has just 210 MB. It takes a lot of time open the file.
I am working on OGG audio recorder and player.
Thanks in advance!
With kind regards,
Pavel
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2015 Sep 25
2
[PATCH 0/1] efi: DNS resolver
On Tue, Sep 15, 2015 at 05:22:40AM -0400, Gene Cumm via Syslinux wrote:
> On Sep 10, 2015 1:32 AM, "celelibi--- via Syslinux" <syslinux at zytor.com> wrote:
> >
> > From: Sylvain Gault <sylvain.gault at gmail.com>
> >
> > Despite having native network capabilities, UEFI 2.4 (the most
> > widely deployed at the moment) has no native DNS
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and
2007 Sep 14
0
Wine release 0.9.45
...just one on-screen pixel format.
winex11: Free visual info stored with the context.
winex11: Remove useless checks from wglCreateContext.
winex11: Remove improper comment and dead code from SetPixelFormat.
Damjan Jovanovic (1):
kernel32: Use sysconf instead of the obsolete CLK_TCK.
Dan Hipschman (10):
widl: Handle LPSTR in typelibs.
widl: Handle the size_is attribute on pointers.
widl: Fix top-level and callback conformances.
widl: Implement NDR for struct field alignment.
widl: Allow size_is on strings.
widl: Output UUID files compatible...
2006 Apr 24
0
R 2.3.0 is released
...R tested system(intern=TRUE) which depends on popen
and so is not supported on all platforms.
o Changed apparent mis-spelling of "Gibraltar" in dataset 'eurodist'.
o sysconf() is now used to find the number of clock ticks/second:
under some circumstances glibc reported CLK_TCK = 60 when the
true value was 100.
o identical() was not allowing for embedded nuls in character
strings. (NB: the comparison operators including == do not,
and never will.)
o The profile() and profiler() methods for "nls" objects now
support algorithm = "plinear" a...
2006 Apr 24
0
R 2.3.0 is released
...R tested system(intern=TRUE) which depends on popen
and so is not supported on all platforms.
o Changed apparent mis-spelling of "Gibraltar" in dataset 'eurodist'.
o sysconf() is now used to find the number of clock ticks/second:
under some circumstances glibc reported CLK_TCK = 60 when the
true value was 100.
o identical() was not allowing for embedded nuls in character
strings. (NB: the comparison operators including == do not,
and never will.)
o The profile() and profiler() methods for "nls" objects now
support algorithm = "plinear" a...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com>
The following patch series is available at,
git://git.zytor.com/users/mfleming/syslinux.git elflink
All patches are against the 'elflink' branch.
This series fixes a few serious bugs and some behavioural
incompatibilities with the 4.x series.
Matt Fleming (19):
ldlinux: Initialise 'p' before using it.
ldlinux: Parse