Displaying 4 results from an estimated 4 matches for "cs_pm".
2011 Jan 03
1
[PATCH] COM32R documentation: fix typo 'pm_cs'
..., 6 deletions(-)
diff --git a/doc/comboot.txt b/doc/comboot.txt
index 4b4b880..04d5deb 100644
--- a/doc/comboot.txt
+++ b/doc/comboot.txt
@@ -986,27 +986,27 @@ AX=0024h [3.80] Cleanup, shuffle and boot, raw version
++++ 32-BIT ONLY API CALLS ++++
-void *pm_cs->lmalloc(size_t bytes)
+void *cs_pm->lmalloc(size_t bytes)
Allocate a buffer in low memory (below 1 MB).
-void pm_cs->lfree(void *ptr)
+void cs_pm->lfree(void *ptr)
- Free a buffer allocated with pm_cs->lmalloc().
+ Free a buffer allocated with cs_pm->lmalloc().
-DIR *pm_cs->opendir(const char *pathname)...
2011 Feb 16
1
[PATCH] [RESEND] COM32R documentation: fix typo 'pm_cs'
..., 6 deletions(-)
diff --git a/doc/comboot.txt b/doc/comboot.txt
index 4b4b880..04d5deb 100644
--- a/doc/comboot.txt
+++ b/doc/comboot.txt
@@ -986,27 +986,27 @@ AX=0024h [3.80] Cleanup, shuffle and boot, raw version
++++ 32-BIT ONLY API CALLS ++++
-void *pm_cs->lmalloc(size_t bytes)
+void *cs_pm->lmalloc(size_t bytes)
Allocate a buffer in low memory (below 1 MB).
-void pm_cs->lfree(void *ptr)
+void cs_pm->lfree(void *ptr)
- Free a buffer allocated with pm_cs->lmalloc().
+ Free a buffer allocated with cs_pm->lmalloc().
-DIR *pm_cs->opendir(const char *pathname)...
2010 Jun 26
2
[PATCH] Fix COM32 chdir()
...--git a/com32/lib/chdir.c b/com32/lib/chdir.c
index 6a365f3..4bd4c84 100644
--- a/com32/lib/chdir.c
+++ b/com32/lib/chdir.c
@@ -8,10 +8,5 @@
int chdir(const char *path)
{
- /* Actually implement something here... */
-
- (void)path;
-
- errno = ENOSYS;
- return -1;
+ return __com32.cs_pm->chdir(path);
}
2011 Mar 30
1
menu.c32 hangs
...advanced
start_console()
to before parse_config(), and after a couple of trace, I reached
syslinux/com32/lib/sys/open.c:open: I made such changes:
printf("file: %s line: %d fd: %d fp: %p\n", __FILE__, __LINE__, fd, fp);
printf("open: %p, open_file: %p\n", open, __com32.cs_pm->open_file);
handle = __com32.cs_pm->open_file(pathname, &fp->i.fd);
printf("file: %s line: %d\n", __FILE__, __LINE__);
It turns out that, the first two printf() statement is executed, but
the third one
is not. The screen output is:
file sys/open.c line: 65 fd: 3 fp...