Subversion Repositories SvarDOS

Rev

Rev 949 | Rev 963 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 949 Rev 957
Line 66... Line 66...
66
 
66
 
67
struct rmod_props far *rmod_install(unsigned short envsize, unsigned char *rmodcore, unsigned short rmodcore_len);
67
struct rmod_props far *rmod_install(unsigned short envsize, unsigned char *rmodcore, unsigned short rmodcore_len);
68
struct rmod_props far *rmod_find(unsigned short rmodcore_len);
68
struct rmod_props far *rmod_find(unsigned short rmodcore_len);
69
void rmod_updatecomspecptr(unsigned short rmod_seg, unsigned short env_seg);
69
void rmod_updatecomspecptr(unsigned short rmod_seg, unsigned short env_seg);
70
 
70
 
-
 
71
/* allocates bytes of far memory, flags it as belonging to rmod
-
 
72
 * the new block can be optionally flagged as 'ident' (if not null) and zero
71
/* allocate */
73
 * out the newly allocated memory.
-
 
74
 * returns a far ptr to the allocated block, or NULL on error */
72
void far *rmod_fmalloc(unsigned short bytes, unsigned short rmod_seg, char *ident);
75
void far *rmod_fcalloc(unsigned short bytes, unsigned short rmod_seg, char *ident);
-
 
76
 
-
 
77
/* free memory previously allocated by rmod_fcalloc() */
73
void rmod_ffree(void far *ptr);
78
void rmod_ffree(void far *ptr);
74
 
79
 
75
#endif
80
#endif