Fix typos
parent
d2bd5e9912
commit
767c0836d4
|
@ -11,7 +11,6 @@ implementation. It is not an introduction to the language itself.
|
||||||
- Building Factor
|
- Building Factor
|
||||||
- Running Factor on Unix with X11
|
- Running Factor on Unix with X11
|
||||||
- Running Factor on Mac OS X
|
- Running Factor on Mac OS X
|
||||||
- Running Factor on Windows
|
|
||||||
- Source organization
|
- Source organization
|
||||||
- Community
|
- Community
|
||||||
- Credits
|
- Credits
|
||||||
|
@ -163,6 +162,7 @@ Slava Pestov: Lead developer
|
||||||
Alex Chapman: OpenGL binding
|
Alex Chapman: OpenGL binding
|
||||||
Doug Coleman: Mersenne Twister RNG, Windows port
|
Doug Coleman: Mersenne Twister RNG, Windows port
|
||||||
Eduardo Cavazos: X11 binding
|
Eduardo Cavazos: X11 binding
|
||||||
|
Joshua Grams: PowerPC instruction cache flush code
|
||||||
Mackenzie Straight: Windows port
|
Mackenzie Straight: Windows port
|
||||||
Trent Buck: Debian package
|
Trent Buck: Debian package
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
+ ui:
|
+ ui:
|
||||||
|
|
||||||
|
- why is the thumb skewed?
|
||||||
- add some handy services:
|
- add some handy services:
|
||||||
- base conversion
|
- base conversion
|
||||||
- search help for selection
|
- search help for selection
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2003, 2006 Slava Pestov.
|
* Copyright (C) 2003, 2006 Slava Pestov and friends.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions are met:
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -4,9 +4,7 @@ On PowerPC processors, we must flush the instruction cache manually
|
||||||
after writing to the code heap.
|
after writing to the code heap.
|
||||||
|
|
||||||
Callable from C as
|
Callable from C as
|
||||||
void flush_icache(void *start, int len)
|
void flush_icache(void *start, int len) */
|
||||||
|
|
||||||
This function is called from compiler.c. */
|
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define MANGLE(sym) _##sym
|
#define MANGLE(sym) _##sym
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define FACTOR_CPU_STRING "ppc"
|
#define FACTOR_CPU_STRING "x86"
|
||||||
|
|
||||||
register CELL ds asm("esi");
|
register CELL ds asm("esi");
|
||||||
register CELL rs asm("edi");
|
register CELL rs asm("edi");
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define SIGSEGV_STACK_POINTER(thr_state) (thr_state).r1
|
#define SIGSEGV_STACK_POINTER(thr_state) (thr_state).r1
|
||||||
#define SIGSEGV_PROGRAM_COUNTER(thr_state) (thr_state).srr0
|
#define SIGSEGV_PROGRAM_COUNTER(thr_state) (thr_state).srr0
|
||||||
|
|
||||||
INLINE void fix_stack_ptr(unsigned long sp)
|
INLINE unsigned long fix_stack_ptr(unsigned long sp)
|
||||||
{
|
{
|
||||||
return sp;
|
return sp;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#define SIGSEGV_STACK_POINTER(thr_state) (thr_state).esp
|
#define SIGSEGV_STACK_POINTER(thr_state) (thr_state).esp
|
||||||
#define SIGSEGV_PROGRAM_COUNTER(thr_state) (thr_state).eip
|
#define SIGSEGV_PROGRAM_COUNTER(thr_state) (thr_state).eip
|
||||||
|
|
||||||
INLINE void fix_stack_ptr(unsigned long sp)
|
INLINE unsigned long fix_stack_ptr(unsigned long sp)
|
||||||
{
|
{
|
||||||
if ((sp & 0xf) != 0) sp -= (sp & 0xf);
|
if ((sp & 0xf) != 0) sp -= (sp & 0xf);
|
||||||
sp -= 4;
|
sp -= 4;
|
||||||
|
|
Loading…
Reference in New Issue