OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /eco32/trunk
    from Rev 261 to Rev 262
    Reverse comparison

Rev 261 → Rev 262

/disk/tools/fs-NetBSD/makefs/ffs.c
916,7 → 916,7
(char *)buf, (long long)bufleft);
else if (nread != chunk)
errx(EXIT_FAILURE, "Reading `%s', %lld bytes to go, "
"read %zd bytes, expected %ju bytes, does "
"read %zd bytes, expected %llu bytes, does "
"metalog size= attribute mismatch source size?",
(char *)buf, (long long)bufleft, nread,
(uintmax_t)chunk);
/disk/tools/fs-NetBSD/makefs/Makefile
4,7 → 4,7
 
BUILD = ../../../../build
 
CC = gcc -m32
CC = gcc
CFLAGS = -g -Wall
LDFLAGS = -g
LDLIBS = -lm
/disk/tools/fs-NetBSD/dsklbl/dsklbl.c
226,8 → 226,8
 
 
FILE *diskFile;
unsigned long sliceStart;
unsigned long sliceSize;
unsigned int sliceStart;
unsigned int sliceSize;
 
 
void readSector(unsigned int sno, unsigned char *buf) {
575,7 → 575,7
char *endptr;
unsigned char partTable[SSIZE];
unsigned char *ptptr;
unsigned long partType;
unsigned int partType;
DiskLabel dl;
int endian;
 
638,7 → 638,7
sliceStart = read4FromEco(ptptr + 4);
sliceSize = read4FromEco(ptptr + 8);
}
printf("Slice size is %lu (0x%lX) sectors of %d bytes each.\n",
printf("Slice size is %u (0x%X) sectors of %d bytes each.\n",
sliceSize, sliceSize, SSIZE);
if (optionCheck) {
/* check endianness */
/disk/tools/fs-NetBSD/dsklbl/Makefile
4,7 → 4,7
 
BUILD = ../../../../build
 
CC = gcc -m32
CC = gcc
CFLAGS = -g -Wall
LDFLAGS = -g
LDLIBS = -lm
/disk/tools/fs-NetBSD/wrboot/Makefile
4,7 → 4,7
 
BUILD = ../../../../build
 
CC = gcc -m32
CC = gcc
CFLAGS = -g -Wall
LDFLAGS = -g
LDLIBS = -lm
/disk/tools/fs-NetBSD/wrboot/wrboot.c
57,13 → 57,13
int bootSize;
char *diskName;
FILE *diskFile;
unsigned long sliceStart;
unsigned long sliceSize;
unsigned int sliceStart;
unsigned int sliceSize;
int part;
char *endptr;
unsigned char partTable[SSIZE];
unsigned char *ptptr;
unsigned long partType;
unsigned int partType;
unsigned char bootCode[BSIZE];
unsigned char diskLabel[SSIZE];
 
121,7 → 121,7
sliceStart = read4FromEco(ptptr + 4);
sliceSize = read4FromEco(ptptr + 8);
}
printf("Slice size is %lu (0x%lX) sectors of %d bytes each.\n",
printf("Slice size is %u (0x%X) sectors of %d bytes each.\n",
sliceSize, sliceSize, SSIZE);
/* read disklabel from disk */
fseek(diskFile, (sliceStart + 1) * SSIZE, SEEK_SET);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.