Displaying 20 results from an estimated 25 matches for "oreg".
Did you mean:
greg
2013 Jul 02
1
[PATCH] drm/nv50-/disp: Use output specific mask in interrupt
...m/nouveau/core/engine/disp/nv50.c
+++ b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
@@ -1107,6 +1107,7 @@ nv50_disp_intr_unk20_2(struct nv50_disp_priv *priv, int head)
u32 pclk = nv_rd32(priv, 0x610ad0 + (head * 0x540)) & 0x3fffff;
u32 hval, hreg = 0x614200 + (head * 0x800);
u32 oval, oreg;
+ u32 mask;
u32 conf = exec_clkcmp(priv, head, 0xff, pclk, &outp);
if (conf != ~0) {
if (outp.location == 0 && outp.type == DCB_OUTPUT_DP) {
@@ -1133,6 +1134,7 @@ nv50_disp_intr_unk20_2(struct nv50_disp_priv *priv, int head)
oreg = 0x614280 + (ffs(outp.or) - 1) * 0x800;...
2014 Feb 20
2
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...e/fs/diskio_bios.c 2014-02-20 12:15:08.000000000 +0400
@@ -337,7 +337,7 @@ struct disk *bios_disk_init(void *privat
/* Get EBIOS support */
ireg.eax.b[1] = 0x41;
ireg.ebx.w[0] = 0x55aa;
- ireg.eflags.b[0] = 0x3; /* CF set */
+ ireg.edx.b[0] = devno;
__intcall(0x13,&ireg,&oreg);
@@ -353,6 +353,7 @@ struct disk *bios_disk_init(void *privat
edd_params.len = sizeof edd_params;
ireg.eax.b[1] = 0x48;
+ ireg.edx.b[0] = devno;
ireg.ds = SEG(&edd_params);
ireg.esi.w[0] = OFFS(&edd_params);
__intcall(0x13,&ireg,&o...
2014 Feb 23
1
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...2014-02-23 14:04:17.876084866
-0500
@@ -337,6 +337,7 @@ struct disk *bios_disk_init(void *privat
/* Get EBIOS support */
ireg.eax.b[1] = 0x41;
ireg.ebx.w[0] = 0x55aa;
+ ireg.edx.b[0] = devno;
ireg.eflags.b[0] = 0x3; /* CF set */
__intcall(0x13, &ireg, &oreg);
@@ -353,6 +354,7 @@ struct disk *bios_disk_init(void *privat
edd_params.len = sizeof edd_params;
ireg.eax.b[1] = 0x48;
+ ireg.edx.b[0] = devno;
ireg.ds = SEG(&edd_params);
ireg.esi.w[0] = OFFS(&edd_params);
__intcall(0x13, &ire...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...ard_max_transfer = 63;
/* CBIOS parameters */
- disk.h = bsHeads;
- disk.s = bsSecPerTrack;
+ disk->h = bsHeads;
+ disk->s = bsSecPerTrack;
if ((int8_t)devno < 0) {
/* Get hard disk geometry from BIOS */
-
+
ireg.eax.b[1] = 0x08;
__intcall(0x13, &ireg, &oreg);
-
+
if (!(oreg.eflags.l & EFLAGS_CF)) {
- disk.h = oreg.edx.b[1] + 1;
- disk.s = oreg.ecx.b[0] & 63;
+ disk->h = oreg.edx.b[1] + 1;
+ disk->s = oreg.ecx.b[0] & 63;
}
}
@@ -370,24 +374,24 @@ struct disk *bios_disk_init(void *private)
}
- disk.dis...
2014 Oct 30
0
Display graphic from filename broken?
> Hi,
>
> the display of LSS16 files from a DISPLAY file (as documented in
> http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename:)
> seems heavily broken since syslinux has been converted from assembler to
> C. I already discovered one bug in core/include/graphics.h (and
> core/graphics.c): the pointer VGAFilePtr is of type uint16_t*, but
> should
2014 Oct 30
3
Display graphic from filename broken?
Hi,
the display of LSS16 files from a DISPLAY file (as documented in
http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename:)
seems heavily broken since syslinux has been converted from assembler to
C. I already discovered one bug in core/include/graphics.h (and
core/graphics.c): the pointer VGAFilePtr is of type uint16_t*, but
should be plain char*. This bug causes the
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...+
+ type = parse_kernel_type(kernel);
+ }
+ }
+
execute(kernel, type);
+ free((void *)kernel);
bad_implicit:
bad_kernel:
@@ -113,11 +223,10 @@ static void enter_cmdline(void)
}
}
-int main(int argc, char **argv)
+int main(int argc __unused, char **argv __unused)
{
- com32sys_t ireg, oreg;
- uint8_t *adv;
- int count = 0;
+ const void *adv;
+ size_t count = 0;
char *config_argv[2] = { NULL, NULL };
openconsole(&dev_rawcon_r, &dev_ansiserial_w);
@@ -127,17 +236,17 @@ int main(int argc, char **argv)
parse_configs(config_argv);
- __syslinux_init();
adv = syslinux_...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com>
Since we can't use __intcall() for EFI, and since we can now have the
ELF module code resolve all our symbols at runtime, we should delete
as many references to __intcall() as possible and just access the
symbols directly.
The most interesting patch is the support for weak symbols. We need to
be able to reference derivative-specific
2014 Feb 22
0
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...0x41;
> ireg.ebx.w[0] = 0x55aa;
> - ireg.eflags.b[0] = 0x3; /* CF set */
I don't understand where the removal of that line matches
with 'DL register is not set' from the description of this patch.
> + ireg.edx.b[0] = devno;
>
> __intcall(0x13,&ireg,&oreg);
>
> @@ -353,6 +353,7 @@ struct disk *bios_disk_init(void *privat
> edd_params.len = sizeof edd_params;
>
> ireg.eax.b[1] = 0x48;
> + ireg.edx.b[0] = devno;
> ireg.ds = SEG(&edd_params);
> ireg.esi.w[0] = OFFS(&edd_params);
>...
2019 Mar 14
2
inline assembly matching error
I'm trying to add support for inline assembly and I keep getting this error:
<jal>
"<inline asm>:1:2: error: invalid instruction"
which is due to the fact that MatchInstructionImpl() returns Match_MnemonicFail.
This function is tablegen'ed in XXXGenAsmMatcher.inc and for some reason it can't find JAL even though I can clearly see it in both MatchTable0[] and
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...46d 100644
--- a/com32/gpllib/memory.c
+++ b/com32/gpllib/memory.c
@@ -87,15 +87,20 @@ void detect_memory_e820(struct e820entry *desc, int size_map, int *size_found)
{
int count = 0;
static struct e820_ext_entry buf; /* static so it is zeroed */
+ void *bounce;
com32sys_t ireg, oreg;
memset(&ireg, 0, sizeof ireg);
+ bounce = lmalloc(sizeof buf);
+ if (!bounce)
+ goto out;
+
ireg.eax.w[0] = 0xe820;
ireg.edx.l = SMAP;
ireg.ecx.l = sizeof(struct e820_ext_entry);
- ireg.edi.w[0] = OFFS(__com32.cs_bounce);
- ireg.es = SEG(__com32.cs_bounce);
+...
2012 Aug 14
1
[GIT PULL] elflink fixes
...de <errno.h>
#include <string.h>
#include <com32.h>
+#include <core.h>
#include <minmax.h>
#include "file.h"
/* Global, since it's used by stdcon_read */
ssize_t __rawcon_read(struct file_info *fp, void *buf, size_t count)
{
- com32sys_t ireg, oreg;
char *bufp = buf;
size_t n = 0;
+ static char hi = 0;
+ static bool hi_key = false;
(void)fp;
- memset(&ireg, 0, sizeof ireg);
-
while (n < count) {
+ if (hi_key) {
+ *bufp++ = hi;
+ n++;
+ hi_key = false;
+ continue;
+ }
+
/* Poll */
- ire...
2019 Jan 21
2
A bug in command localboot was introduced in version 6.03.
diff --git a/core/localboot.c b/core/localboot.c
index 0b8769e4..30bfb272 100644
--- a/core/localboot.c
+++ b/core/localboot.c
@@ -63,7 +63,6 @@ __export void local_boot(int16_t ax)
ireg.eax.w[0] = 0; /* Reset drive */
__intcall(0x13, &ireg, NULL);
- memset(&ireg, 0, sizeof(ireg));
ireg.eax.w[0] = 0x0201; /* Read one sector */
ireg.ecx.w[0] = 0x0001; /* C/H/S = 0/0/1 (first
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
2019 Jan 21
0
A bug in command localboot was introduced in version 6.03.
...t; 21.01.2019 11:03, Erwan Velu writes:
> > Can you share the patch you used ?
I'd rather lean towards clearing state and having to set EDX/EAX again
but let's look at them all.
The first or second memset() seems redundant since it's never used in between.
If we can assume when oreg is NULL intcall() never touches ireg, then
we don't need the third memset(). With the following code, it seems
it's a valid assumption:
.no_copy: mov edi,esi ; Do a dummy copy-to-self
Erwan, thoughts?
--
-Gene
2019 Aug 09
0
[PATCH] meminfo.c32: Remove unneeded 'x' characters from output
...ut less suited for 80 columns.
By removing the non-essential "x" characters, the text output
of meminfo.c32 gets to be back in line with versions prior to 6.03.
--- a/syslinux-6.04-pre1/com32/modules/meminfo.c
+++ b/syslinux-6.04-pre1/com32/modules/meminfo.c
@@ -71,12 +71,12 @@
if (oreg.ecx.l >= 24) {
/* ebx base length end type */
- printf("%8x %016" PRIx64 "x %016" PRIx64 "x %016" PRIx64 "x %d [%x]",
+ printf("%8x %016" PRIx64 " %016" PRIx64 " %016" PRIx64 " %d [%x]",
ireg.ebx....
2014 May 29
0
syslinux (pxelinux.0) debug prints
...oads pxelinux.0 file.
4. When it starts to load the system crashes and reboots.
I was able to pin down the issue with stalls (sleep() function). I suspect
that the addresses of the PXE API are not correct or corrupted somehow.
When I call this function (core_farcall((size_t)func, &xreg, oreg);
in file core/call16.c), the system crashes???
Do you have any suggestions?
Thanks,
wissam
2015 Aug 21
2
[PATCH 2/2] core/graphics: fix lss16 parsing
.../* dorun */
- for (i = 0; i < data; i++)
+ for (i = 0; i < rle_len; i++)
*out++ = prev_pixel;
size -= i;
@@ -249,7 +256,7 @@ __export void vgadisplayfile(FILE *_fd)
/* Load the header */
while (size--)
- *p = getc(fd);
+ *p++ = getc(fd);
if (*p != EOF) {
com32sys_t ireg, oreg;
--
2.1.0
2014 May 29
3
syslinux (pxelinux.0) debug prints
On May 29, 2014 5:25 AM, "Wissam Shoukair" <wissams at mellanox.com> wrote:
>
> Hi Gene,
>
> I was wondering how I can set the ?printf? output to be visible on the
screen? (I?m using syslinux-6.03-pre02)
printf () or dprintf ()? You need to watch what functions are available at
the time you want to print. For example, printf isn't available until
ldlinux.c32 is
2015 Aug 20
4
boot logo via boot.txt
We recently have upgraded syslinux and have noticed that the boot logo
code via boot.txt no longer works. I have a couple patches that get it
close to working but I appear to be having trouble with color maps. Is
there someone would want to help me finish figuring this out?
Any interest in the patches I have to fix the rle decoder?