Skip to content

Commit

Permalink
Remove some unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 committed Oct 13, 2024
1 parent 3050997 commit f16df72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
36 changes: 0 additions & 36 deletions arch/extnrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,42 +44,6 @@ enum OS_ID_BYTE {
};

#ifdef HOST_BIGENDIAN
static void
store_16bit_le(void *address, uint16_t data)
{
uint8_t *addr = address;

assert(address != NULL);

addr[0] = data & 255;
addr[1] = data >> 8;
}

static void
store_24bit_le(void *address, uint32_t data)
{
uint8_t *addr = address;

assert(address != NULL);

addr[0] = data;
addr[1] = data >> 8;
addr[2] = data >> 16;
}

static void
store_32bit_le(void *address, uint32_t data)
{
uint8_t *addr = address;

assert(address != NULL);

addr[0] = data;
addr[1] = data >> 8;
addr[2] = data >> 16;
addr[3] = data >> 24;
}

static uint32_t
get_32bit_le(const void *address)
{
Expand Down
10 changes: 0 additions & 10 deletions armdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,16 +355,6 @@ extern void ARMul_CoProAttach(ARMul_State *state, unsigned number,
ARMul_CPReads *reads, ARMul_CPWrites *writes);
extern void ARMul_CoProDetach(ARMul_State *state, unsigned number);

/***************************************************************************\
* Host-dependent stuff *
\***************************************************************************/

#ifdef macintosh
pascal void SpinCursor(short increment); /* copied from CursorCtl.h */
# define HOURGLASS SpinCursor( 1 )
# define HOURGLASS_RATE 1023 /* 2^n - 1 */
#endif

#include "arch/archio.h"
#include "arch/armarc.h"
#include "eventq.h"
Expand Down

0 comments on commit f16df72

Please sign in to comment.