dbra d0,wipebss
/* FIXME: hard coded ugly */
- move.l #uarea_block+508,a7
- /* uarea global */
- move.l #uarea_block,a5
+ move.l #udata_block+508,a7
+ /* udata global */
+ move.l #udata_block,a5
bsr init_early
bsr init_hardware
bsr fuzix_main
{
}
-u_block uarea_block[PTABSIZE];
+u_block udata_block[PTABSIZE];
uaddr_t ramtop;
uint8_t *membase[PTABSIZE];
uint8_t need_resched;
int16_t dofork(ptptr p)
{
/* Child and parent udata pointers */
- struct u_data *uc = &uarea_block[p - ptab].u_d;
+ struct u_data *uc = &udata_block[p - ptab].u_d;
struct u_data *up = udata_ptr;
uint32_t *csp = (uint32_t *)(uc + 1);
uint32_t *psp = up->u_sp;
.globl program_vectors
.globl outchar
.globl trap_monitor
- .globl uarea_block
+ .globl udata_block
.mri 1
trap_reboot:
bra trap_monitor
init_early:
- lea.l uarea_block,a5 ; udata ptr
- move.l a5,uarea_shadow ; shadow copy for entry/exit
+ lea.l udata_block,a5 ; udata ptr
+ move.l a5,udata_shadow ; shadow copy for entry/exit
rts
;
movem.l a0-a6/d0-d7,-(a7)
move.l #intmsg,a0
bsr outstring
- move.l uarea_shadow,a5 ; set up the register global
- bsr platform_interrupt
+ move.l udata_shadow,a5 ; set up the register global
+ jsr platform_interrupt
move.b $00F04000,d0 ; Re-enable
movem.l (a7)+,a0-a6/d0-d7
rte