More regs in m68k iframe.

Removed DOS CR.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22735 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2007-10-26 14:28:54 +00:00
parent d1516993c2
commit a790413138
4 changed files with 106 additions and 91 deletions
+17 -2
View File
@@ -12,12 +12,27 @@
#define PAGE_SIZE 4096 #define PAGE_SIZE 4096
#warning M68K: check for missing regs/movem
struct iframe { struct iframe {
uint32 d7;
/* XXX: order depends on movem */ /* XXX: order depends on movem */
uint32 d0;
uint32 d1;
uint32 d2;
uint32 d3;
uint32 d4;
uint32 d5;
uint32 d6;
uint32 d7;
uint32 a0; uint32 a0;
uint32 a1;
uint32 a2;
uint32 a3;
uint32 a4;
uint32 a5;
uint32 a6;
uint32 a7;
/* 030 ex frame: */ /* 030 ex frame: */
uint16 sr; uint16 sr; /* contains ccr */
uint32 pc; uint32 pc;
uint16 vector; /* [12:15] frame type */ uint16 vector; /* [12:15] frame type */
/* other stuff depending on frame type... do we really need that ? */ /* other stuff depending on frame type... do we really need that ? */
@@ -8,13 +8,13 @@
#include <StorageDefs.h> #include <StorageDefs.h>
#include <SupportDefs.h> #include <SupportDefs.h>
#warning M68K: fix system_time()
struct ppc_real_time_data { struct m68k_real_time_data {
vint64 system_time_offset; vint64 system_time_offset;
}; };
struct arch_real_time_data { struct arch_real_time_data {
struct ppc_real_time_data data[2]; struct m68k_real_time_data data[2];
vint32 system_time_conversion_factor; vint32 system_time_conversion_factor;
vint32 version; vint32 version;
// Since there're no cheap atomic_{set,get,add}64() on PPC 32 (i.e. one // Since there're no cheap atomic_{set,get,add}64() on PPC 32 (i.e. one