search for: of_read

Displaying 8 results from an estimated 8 matches for "of_read".

Did you mean: mf_read
2002 Mar 02
0
Longman dictionary installer debugging
...rry for this long letter, but I thought if I have worked on it, I should share the results even it they ain't worth anything. (so the reasons are somewhat selfish ;) Thank you for your patience Zsolt Rizsanyi -------------- next part -------------- trace:file:FILE_DoOpenFile F:\_INS0433._MP OF_READ OF_SHARE_COMPAT OF_EXIST trace:file:FILE_DoOpenFile F:\_INS0433._MP 4000 warn:file:FILE_DoOpenFile 'F:\_INS0433._MP' not found or sharing violation warn:file:FILE_DoOpenFile (F:\_INS0433._MP): return = HFILE_ERROR error= 2 trace:file:FILE_DoOpenFile F:\_INS0433._MP OF_READ OF_SHARE_COMPAT...
2015 Oct 02
2
[PATCH] bios: fix OF loading
...dev/bios/shadowof.c index 29a37f0..4a20584 100644 --- a/drm/nouveau/nvkm/subdev/bios/shadowof.c +++ b/drm/nouveau/nvkm/subdev/bios/shadowof.c @@ -22,6 +22,7 @@ */ #include "priv.h" +#include <core/pci.h> #if defined(__powerpc__) struct priv { @@ -33,17 +34,27 @@ static u32 of_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) { struct priv *priv = data; - if (offset + length <= priv->size) { + if (offset < priv->size) { + length = min_t(u32, length, priv->size - offset); memcpy_fromio(bios->data + offset, priv->data + offset, length)...
2001 Sep 14
5
wine serial support
Hi, I use wine to run a terminal emulator (NetTerm). It connects to a Linux Server (it was meant to run from windows) that runs a commerce software. This Linux commerce software sends the terminal emulator escape codes to interface with a "ticket" printer attached to a serial port. The reason to go thru all this problem is that the printer has a proprietary, closed source driver for
2015 Oct 02
2
[PATCH] bios: fix OF loading
...> +++ b/drm/nouveau/nvkm/subdev/bios/shadowof.c >> @@ -22,6 +22,7 @@ >> */ >> #include "priv.h" >> >> +#include <core/pci.h> >> >> #if defined(__powerpc__) >> struct priv { >> @@ -33,17 +34,27 @@ static u32 >> of_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) >> { >> struct priv *priv = data; >> - if (offset + length <= priv->size) { >> + if (offset < priv->size) { >> + length = min_t(u32, length, priv->size - offs...
2024 Mar 26
1
[PATCH 06/12] nouveau: fix function cast warning
...of_init(struct nvkm_bios *bios, const char *name) return ERR_PTR(-EINVAL); } +static void of_fini(void *p) +{ + return kfree(p); +} + const struct nvbios_source nvbios_of = { .name = "OpenFirmware", .init = of_init, - .fini = (void(*)(void *))kfree, + .fini = of_fini, .read = of_read, .size = of_size, .rw = false, -- 2.39.2
2024 Mar 26
1
[PATCH 00/12] kbuild: enable some -Wextra warnings by default
From: Arnd Bergmann <arnd at arndb.de> This is a follow-up on a couple of patch series I sent in the past, enabling -Wextra (aside from stuff that is explicitly disabled), -Wcast-function-pointer-strict and -Wrestrict. I have tested these on 'defconfig' and 'allmodconfig' builds across all architectures, as well as many 'randconfig' builds on x86, arm and arm64. It
2001 Dec 04
2
Serial Errors
...l filename from 'C:\WINDOWS\SYSTEM\wineoss.drv' (GLE 2) trace:file:CreateFileA CONIN$ GENERIC_READ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING trace:file:CreateFileA CONOUT$ GENERIC_WRITE FILE_SHARE_READ FILE_SHARE_WRITE OPEN_EXISTING trace:file:FILE_DoOpenFile AVICAP.DLL OF_READ OF_SHARE_COMPAT trace:file:FILE_DoOpenFile AVICAP.DLL 0000 trace:file:FILE_DoOpenFile found /usr/share/wine-c/windows/system/avicap.dll = C:\WINDOWS\SYSTEM\AVICAP.DLL trace:file:FILE_DoOpenFile (AVICAP.DLL): OK, return = 72 trace:file:Win32HandleToDosFileHandle Got 5 for h32 72 trace:file:SetFileP...
2001 Nov 16
0
Getting Groupwise to run setup.exe
...Address16 returning 00f700e3 trace:module:GetModuleFileName16 01ef -> 'X:\mnt\ctyctr3\sys\apps\grpwise\client\win32\setup.exe' trace:module:GetModuleFileName16 01ef -> 'X:\mnt\ctyctr3\sys\apps\grpwise\client\win32\setup.exe' trace:file:FILE_DoOpenFile C:\WINDOWS\_delis43.ini OF_READ OF_SHARE_COMPAT OF_EXIST trace:file:FILE_DoOpenFile C:\WINDOWS\_delis43.ini 4000 trace:dosfs:DOSFS_DoGetFullPathName got C:\WINDOWS\_delis43.ini trace:dosfs:DOSFS_DoGetFullPathName returning 'C:\WINDOWS\_delis43.ini' trace:dosfs:DOSFS_GetFullName C:\WINDOWS\_delis43.ini (last=1) trace:dosf...