Skip to content

Commit

Permalink
Revert "fmemcpy: init seg bases (valgrind)"
Browse files Browse the repository at this point in the history
This reverts commit 78568ed.

No longer needed.
  • Loading branch information
stsp committed Aug 8, 2024
1 parent 06105b3 commit 973bf9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libc/pc_hw/mem/fmemcpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static inline int get_segment_base_address(int selector, unsigned *addr)

void fmemcpy1(__dpmi_paddr dst, const void *src, unsigned len)
{
unsigned base = 0;
unsigned base;
void *ptr;
int en_dis = !(_crt0_startup_flags & _CRT0_FLAG_NEARPTR);
int err;
Expand All @@ -63,7 +63,7 @@ void fmemcpy1(__dpmi_paddr dst, const void *src, unsigned len)

void fmemcpy2(void *dst, __dpmi_paddr src, unsigned len)
{
unsigned base = 0;
unsigned base;
const void *ptr;
int en_dis = !(_crt0_startup_flags & _CRT0_FLAG_NEARPTR);
int err;
Expand All @@ -81,7 +81,7 @@ void fmemcpy2(void *dst, __dpmi_paddr src, unsigned len)
/* similar to sys/movedata.h's movedata(), but the src/dst swapped! */
void fmemcpy12(__dpmi_paddr dst, __dpmi_paddr src, unsigned len)
{
unsigned sbase = 0, dbase = 0;
unsigned sbase, dbase;
const void *sptr;
void *dptr;
int en_dis = !(_crt0_startup_flags & _CRT0_FLAG_NEARPTR);
Expand Down

0 comments on commit 973bf9d

Please sign in to comment.