- Aug 06, 2004
-
-
rtoy authored
2004-08-05. (Taken from identical fix in sbcl.)
-
- Aug 04, 2004
-
-
rtoy authored
algorithm to make the bignums roughly the same size before running binary gcd.
-
rtoy authored
foreign functions for linkage table stuff. (This should probably be changed.) In cold-fdefinition-object and cold-fset, we call lookup-foreign-symbol and stuff away the address of the entry in the linkage-table. I think we really want the contents of the entry since that contains the actual address for these functions. Thus, change lookup-foreign-symbol to take an link-type arg, and for sparc, when the link-type is :data, return the value from the linkage-table entry instead of returning the address of the linkage-table entry. I hope this fixes the occasional problem with undefined functions giving sigbus instead of an undefined-function error when loading kernel.core.
-
cwang authored
Change offset_vector back to an unsigned int* because it still has 32-bit elements on amd64. Eventually we will make this consistent with internals.h. This creates a compiler warning, sigh.
-
cwang authored
-
- Aug 03, 2004
- Aug 02, 2004
- Jul 30, 2004
-
-
rtoy authored
-
rtoy authored
-
rtoy authored
-
rtoy authored
Some functionality missing: logandc1, logorc1, and *, not implemented. Use boot3.lisp to bootstrap this. No cross-compile needed.
-
rtoy authored
o Export sigcontext-lr.
-
rtoy authored
o Move the SC_OFFSET_{HI,LO} macros from sparc-lispregs to lispregs.h, so they can be used elsewhere. ppc-lispregs.h: o Define the register numbers so they can be used in the SC_OFFSET macros. ppc-assem.S: o Document what the byte 18<<2, 0, 0, 24 is supposed to do. o Use the SC_OFFSET macros in undefined_tramp instead of hard-wiring the register number.
-
- Jul 29, 2004
-
-
cwang authored
we can go back to the faster version.
-
cwang authored
-
rtoy authored
the handler, which seems to be a bad idea since interrupt_handle_now has comments about alloc_sap while interrupts are disabled. Not 100% sure this is all right, but everything still appears to work.
-
rtoy authored
-
rtoy authored
#C(0d0 0d0) failing a typecase. Then doing a backtrace gave another error about some negative number not being a positive fixnum. The former error is caused by a bad definition of undefined_tramp. The latter error is caused by the debugger not being able to compute the offset correctly. (Fixes ported from sbcl.)
-
rtoy authored
doesn't like.
-
- Jul 28, 2004
-
-
cwang authored
At some point we should investigate 4-bit low-tag for amd64.
-
- Jul 27, 2004
- Jul 26, 2004
-
-
rtoy authored
-
- Jul 25, 2004
-
-
pmai authored
-
pmai authored
-
pmai authored
Besides support for Darwin foreign loading, and updates to the ppc-vm and bsd-os files, this commit removes unix:unix-errno as a foreign variable and replaces it with a function named unix-errno, and a (setf unix-errno). This makes both glibc support cleaner, and enables ports like PPC/Darwin (and the upcoming win32 port) which have no easy way of accessing errno as a foreign variable able to support this functionality at all. The current implementation of this is rather make-shift, it would likely be much cleaner to go the SBCL way and mediate all access to errno via defined functions in the C runtime. As an interim feature, the frobbing of the float-trap-modes is currently commented out for Darwin because of ongoing breakage.
-
pmai authored
make the call to foreign-linkage-init conditional on linkage-table, too.
-
pmai authored
-
pmai authored
linkage-table feature. This seems much cleaner than relying on the contents of foreign-linkage also working in non-linkage-table cores and runtimes.
-
pmai authored
-
pmai authored
loaded, we actually do want to fiddle with internal packages, so say so properly upfront.
-
pmai authored
This includes various fixes from SBCL and other sources to the PPC backend. It also does away with Gary Byers' renumbering of the type tags for function and instance pointers, which allowed for a slightly clever and presumably faster function calling convention. These changes have been conditionalized out with the PPC-FUN-HACK conditional, so that we might revisit the changes in the future. The current port has only been tested without PPC-FUN-HACK, but this might change.
-
pmai authored
cleanup of the includes.
-